[PATCH][libcxx] regex: Support capturing parens inside lookahead assertions
hhinnant at apple.com
Tue Jul 23 09:20:13 PDT 2013
On Jul 20, 2013, at 6:41 PM, William Fisher <william.w.fisher at gmail.com> wrote:
> This patch fixes a bug where std::regex in ECMAScript mode was ignoring capture groups inside lookahead assertions.
> For example, matching /(?=(a))(a)/ to "a" should yield two captures: \1 = "a", \2 = "a"
> The test cases are in lookahead_capture.cpp.
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
Awesome job Bill!
Committed revision 186954.
More information about the cfe-commits