[Webkit-unassigned] [Bug 16696] JSCRE fails fails to match Acid3 regexp
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 1 14:29:46 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=16696
------- Comment #3 from ian at hixie.ch 2008-01-01 14:29 PDT -------
Forward references to capture brackets that haven't been seen yet, in ES4, are
defined to always match the empty string. So this:
/a(\2)(x)a/
...matches only "axa", not "axxa", and on a positive match always returns
['axa', '', 'x', 'a'].
FWIW, ES4 regexps are not Perl-compatible in this and many other edge cases.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list