Skip to content

Regular expression escaping #1026

@kddnewton

Description

@kddnewton

With this regexp:

/\ca/

the escape sequence results in a regular expression with source:

/\x01/

but parser gives: /\u0001/. I don't know if this is actually a bug or not, but it's surprising.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions