[Webkit-unassigned] [Bug 14931] Javascript Regular Expression Non-participating capturing groups behave incorrectly in edge cases.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 12 16:08:14 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14931





------- Comment #10 from darin at apple.com  2007-08-12 16:08 PDT -------
8 of the tests are failing because the PCRE engine uses the same array for
results from the regular expression match that it uses internally to determine
what back-references should match. So all the cases that say (x)?\1 fail to
match since there is no expression 1. The specification says that \1 should
match the empty string in this case. This is all discussed in the article, but
I thought it was worth mentioning that the issue is affecting 8 of the test
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