Closed
Bug 33951
Opened 24 years ago
Closed 24 years ago
Flaw in javascript regular expressions parser.
Categories
(Core :: JavaScript Engine, defect, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
INVALID
People
(Reporter: moscoop, Assigned: rogerl)
Details
alert(/^[^0]/.test("")); alert(/[^0]/.test("")); Those 2 lines of JavaScript code should produce 2 dialog boxes that both say "false", but the first line erroneously produces "true". There is a bug in the regular expression processing part of the implimentation of JavaScript in Netscape 4.72. I've tried this on HP-UX & on WinNT versions of Netscape with the exact same result.
Assignee | ||
Comment 1•24 years ago
|
||
Bugs in 4.72 need to go via http://help.netscape.com/forms/bug-client.html (I forwarded this one already) for what it's worth - this bug is fixed in Mozilla.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•