Closed
Bug 376325
Opened 18 years ago
Closed 18 years ago
bogus regular expression /\c/ should be rejected
Categories
(Core :: JavaScript Engine, enhancement)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
"\ c letter" is defined as "take the letter's codepoint mod 32, and interpret that as a codepoint". That means "\c" by itself doesn't make any sense. Shouldn't that be a compile error?
Comment 1•18 years ago
|
||
We actually have a special case to back up and treat /\c/ as /\\c/. It was broken until I fixed bug 325925. I say this is WONTFIX or INVALID.
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•