[Webkit-unassigned] [Bug 16514] New: RegExp properties should not depend on RegExp.input
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 19 04:26:10 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=16514
Summary: RegExp properties should not depend on RegExp.input
Product: WebKit
Version: 523.x (Safari 3)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: kmillikin at gmail.com
Changing RegExp.input should not change RegExp.lastMatch, RegExp.$1, etc. In
Safari 523.13:
'This seems like the right behavior'.match(/right/);
RegExp.lastMatch; // == 'right'
RegExp.input = 'Whereas this one is wrong, yo';
RegExp.lastMatch; // == 'wrong'
--
Configure bugmail: http://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