Closed Bug 700651 Opened 14 years ago Closed 14 years ago

The regexp /[\u0000]/ should match to string "\u0000"

Categories

(Rhino Graveyard :: Core, defect)

head
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: msmhrt, Unassigned)

Details

The regexp /[\u0000]/ should match to string "\u0000", but it does not match. Steps to Reproduce: js> escape(/\u0000/.exec("\u0000")) %00 js> escape(/[\u0000]/.exec("\u0000")) null
My patch in pull request #17 ( https://github.com/mozilla/rhino/pull/17 ) will fix this bug.
Thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.