Skip to content

Comments

Fix parseEscape to support only ASCII values#183

Open
le0pard wants to merge 1 commit intogoogle:masterfrom
le0pard:fix-parse-escape
Open

Fix parseEscape to support only ASCII values#183
le0pard wants to merge 1 commit intogoogle:masterfrom
le0pard:fix-parse-escape

Conversation

@le0pard
Copy link

@le0pard le0pard commented Jan 31, 2025

Screenshot 2025-01-31 at 21 20 40

Based on golang parser code, one condition was missed, that is why some regex was marked as is valid, when it is not

P.S. in golang utf8.RuneSelf == 0x80, but here Unicode.MAX_ASCII == 0x7f, that is why <= in condition

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