Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regular expression escaping #1026

Open
kddnewton opened this issue Jun 12, 2024 · 0 comments
Open

Regular expression escaping #1026

kddnewton opened this issue Jun 12, 2024 · 0 comments

Comments

@kddnewton
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant