[Webkit-unassigned] [Bug 24166] Regex won't match if result of capture group gets longer than 49991 chars

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 26 13:59:52 PST 2009


------- Comment #5 from nk111 at gmx.de  2009-02-26 13:59 PDT -------
(In reply to comment #4)
> The result of the capture group will only be the last character matched. The
> group is only going to capture a single character.

OK. Bad example. The point is, that you'll get NO MATCH at all using webkit. If
the text on which the group should match is longer than 49991 chars.

Change the regex to:

Now you should get the whole XXXX as result of the group. But as with the
example above it won't match with webkit...

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