Closed Bug 576824 Opened 15 years ago Closed 13 years ago

Regexp capture result is different for /()?/

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

/()?/.exec("") YARR: ["", ""] OLD: ["", (void 0)] I don't know which is correct.
js> /()?/.exec("") ["", (void 0)] Looks like it's back to the old one. Gonna guess it was a Yarr bug.
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.