Skip to content

Fix the parser to not accept invalid escapes#901

Merged
byroot merged 1 commit into
ruby:masterfrom
byroot:parser-refactor-str-unescape
Nov 22, 2025
Merged

Fix the parser to not accept invalid escapes#901
byroot merged 1 commit into
ruby:masterfrom
byroot:parser-refactor-str-unescape

Conversation

@byroot

@byroot byroot commented Nov 22, 2025

Copy link
Copy Markdown
Member

Only "\/bfnrtu are valid after a backslash.

@byroot byroot force-pushed the parser-refactor-str-unescape branch 3 times, most recently from b7a5910 to 0917e3e Compare November 22, 2025 13:01
Only `"\/bfnrtu` are valid after a backslash.
@byroot byroot force-pushed the parser-refactor-str-unescape branch from 0917e3e to 0be6006 Compare November 22, 2025 13:01
@byroot byroot merged commit f7f8f55 into ruby:master Nov 22, 2025
37 checks passed
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.

1 participant