Closed Bug 427733 Opened 16 years ago Closed 14 years ago

/(?=)/ empty look-ahead assertion fails, /(?!)/ succeeds

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: x00000000, Unassigned)

References

()

Details

/(?=)/ should match anything and /(?!)/ nothing. Actual results are reversed.

Reason is a missing REOP_EMPTY between REOP_ASSERT and REOP_ASSERTTEST.
/(?=)/ has a testcase, not sure about /(?!)/, will check and push with some other tests.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.