[Webkit-unassigned] [Bug 67455] New: Different regular expression result
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 1 17:01:58 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=67455
Summary: Different regular expression result
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dmandelin at mozilla.com
This is https://bugzilla.mozilla.org/show_bug.cgi?id=683838
In JSC:
var rg = /(X(?:.(?!X))*?Y)|(Y(?:.(?!Y))*?Z)/g;
var str = "Y aaa X Match1 Y aaa Y Match2 Z";
print(str.match(rg));
==> Y Match2 Z
should be
==> X Match1 Y,Y Match2 Z
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list