Closed
Bug 576826
Opened 14 years ago
Closed 9 years ago
Differences with /a{2,0/
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: testcase)
/a{2,0/;
YARR: accepts it
OLD: rejects it, saying "maximum {2,0 less than minimum"
Both seem engines treat the "{" as literal given the lack of "}", which surprises me. But I guess OLD is being cranky by applying the min<=max rule anyway.
Comment 1•14 years ago
|
||
YARR seems to assume that the absence of } means the other characters should be treated as literal characters...
Assignee | ||
Updated•10 years ago
|
Assignee: general → nobody
Comment 2•9 years ago
|
||
Neither Yarr nor irregexp reject /a{2,0/. ES2015 B.1.4 also seems to allow this syntax -> Resolving as Won't Fix.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•