Closed Bug 576826 Opened 14 years ago Closed 9 years ago

Differences with /a{2,0/

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

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.
YARR seems to assume that the absence of } means the other characters should be treated as literal characters...
Assignee: general → nobody
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.