Closed Bug 10023 Opened 25 years ago Closed 25 years ago

Regular expression parse errors

Categories

(Core :: JavaScript Engine, defect, P3)

All
Mac System 8.6
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: waldemar, Assigned: rogerl)

Details

The following regular expressions should parse according to ECMA Edition 3 but
don't:

/[]/
/[^]/
RegExp("[\0]+")
RegExp("[^\0]+")

With respect to the last two, please go through the code and remove all checks
for a null string terminator since nulls are legal in strings and regular
expressions obtained from strings according to ECMA.

    Waldemar
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Checked in fix for this and a few other null termination problems.
You need to log in before you can comment on or make changes to this bug.