[Webkit-unassigned] [Bug 24166] Regex: capture groups don't match on text longer than 49991 chars

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 27 02:31:43 PST 2009


------- Comment #7 from nk111 at gmx.de  2009-02-27 02:31 PDT -------
I'm getting confused...

It seems that's not only the length of the input string is important but also
how you write the group condition...

I provided an example page:

You will see that Test1 and Test2 have slightly different group conditions.
While Test1 will return only the last "X" in the first (and only) group Test2
will return all the "X" in the first group. 

Both regex work on the 49997 characters long input string.

Test3 and Test4 again use the two different regex conditions but on a 49998
characters long input string.

Test3 does NOT match while Test4 does.

In non webkit browsers all 4 tests match.

I really hope now it's clear what I wanted to show.

Configure bugmail: https://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