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

Fix invalid hex escape in Regexp #2228

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

herwinw
Copy link
Member

@herwinw herwinw commented Sep 20, 2024

No description provided.

@herwinw herwinw force-pushed the regexp_invalid_hex_escape branch from 79e36f1 to 22ee029 Compare September 20, 2024 16:26
@herwinw
Copy link
Member Author

herwinw commented Sep 20, 2024

Welp, it turns out \xa and '\xapare valid escaped, which get interpreted as\x0aand\x0ap`. Guess I learned something today.

@herwinw herwinw merged commit 3e85917 into natalie-lang:master Sep 20, 2024
15 checks passed
@herwinw herwinw deleted the regexp_invalid_hex_escape branch September 20, 2024 18:21
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

Successfully merging this pull request may close these issues.

2 participants