Skip to content

Invalid regex tests #20

Description

@Protryon

Tests in pass/pass-explicit:

66e383bfd18e66ab.js
78c215fabdf13bae.js
bf49ec8d96884562.js
e4a43066905a597b.js

These tests are asserting non-conforming behavior to the spec.

66e383bfd18e66ab.js:
Illegal to backreference n when n is > nParenthesis for unicode mode.

78c215fabdf13bae.js:
Backtracking is removed for {/} characters in unicode mode.

bf49ec8d96884562.js:
Cannot repeat lookaheads in unicode mode.

e4a43066905a597b.js
Same backtracking stuff in unicode mode.

@bakkot

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions