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

Raise a ParserError on all incomplete unicode escape sequence. #762

Merged
merged 1 commit into from
Mar 11, 2025

Conversation

byroot
Copy link
Member

@byroot byroot commented Mar 11, 2025

This was the behavior until 2.10.0 unadvertently changed it.

"\u1" would raise, but "\u1zzz" wouldn't.

This was the behavior until `2.10.0` unadvertently changed it.

`"\u1"` would raise, but `"\u1zzz"` wouldn't.
@byroot
Copy link
Member Author

byroot commented Mar 11, 2025

Not too sure what's wrong with ruby-head.

@byroot byroot merged commit 57911f1 into ruby:master Mar 11, 2025
30 of 33 checks passed
@byroot byroot deleted the invalid-escape branch March 11, 2025 20:48
@Earlopain
Copy link

Something in optparse ruby/optparse#93 with rake and environment variables

@byroot
Copy link
Member Author

byroot commented Mar 12, 2025

Ah thank you. I was actually tracking it down at the moment.

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