Skip to content

Support for back-references #4

Closed
@anba

Description

@anba

/(s)\1/ui is currently transformed to /([s\u017F])\x01/i.

  1. Back references should probably not be transformed to hexadecimal escapes
  2. Canonicalizing the back reference's content is tricky, I'm not sure how this feature can be supported without canonicalizing the input string first, e.g. in /(s)\1/ui.test("s\u017f") == true.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions