[Webkit-unassigned] [Bug 7253] New: Inline regex produces wrong results vs. creating new RegExp object
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Tue Feb 14 11:36:05 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=7253
Summary: Inline regex produces wrong results vs. creating new
RegExp object
Product: WebKit
Version: 417.x
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: JavaScript
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: pshah at zimbra.com
Basically creating a regex like this:
var regex = /^([^#<\u2264]+)([#<\u2264])(.*)$/;
does not give any results vs. creating a regex like this:
var regex = new RegExp("^([^#<\u2264]+)([#<\u2264])(.*)$");
This probably isnt a bug in most cases but see attachment for narrowed down
testcase where this is happening - comment out line 10 and uncomment line 9
(and vice versa) to see the bug.
FF/IE work fine in both cases. Tested on Safari v2.0.3 (417.8) on OS X v10.4.4
--
Configure bugmail: http://bugzilla.opendarwin.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