[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
Thu Feb 26 23:55:56 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=24166





------- Comment #6 from barraclough at apple.com  2009-02-26 23:55 PDT -------
As a quick fix you may want to try rewriting (.)* as (?:.*(.))?

I think there is a good chance that this will be faster on most regex engines,
and also this may well work on shipping Safari.

(I'm afraid I don't have a 49991 character input string lying around to check).

G.


-- 
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