[Webkit-unassigned] [Bug 24166] New: Regex won't match on capture groups longer than 49991 chars
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 25 11:47:29 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=24166
Summary: Regex won't match on capture groups longer than 49991
chars
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: nk111 at gmx.de
if a regex uses capture groups, it won't match if any of the resulting captures
is longer than 49991 characters.
If you try this regex:
/start(.)*end/i
on this text
startXXXXXXend
then it will match until you put more than 49991 "X" between "start" and "end".
You can easily test it on http://regexpal.com/
It will work with firefox but not with safari or chrome.
This bug does only affect regex with groups in it. If you change the the regex
to:
/start.*end/i
then it will match.
--
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