Skip to content

fix(no-invalid-regexp): allow v-mode regexes containing -- after single token in a char class#1443

Open
lionel-rowe wants to merge 1 commit intodenoland:mainfrom
lionel-rowe:no-invalid-valid-regexp
Open

fix(no-invalid-regexp): allow v-mode regexes containing -- after single token in a char class#1443
lionel-rowe wants to merge 1 commit intodenoland:mainfrom
lionel-rowe:no-invalid-valid-regexp

Conversation

@lionel-rowe
Copy link

Fixes #1442

The large diff in src/js_regex/mod.rs is mostly just ctrl+h test changes due to the validator methods now accepting/returning UnicodeMode enums (u/v/none) instead of booleans (u/none).

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.

no-invalid-regexp: some v-mode regexes are marked invalid when actually valid, e.g. /[\p{N}--0]/gv

1 participant