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

(v14): false-positive "Invalid regular expression: Invalid character class" #448

Closed
merlinnot opened this issue Nov 29, 2019 · 1 comment · Fixed by #454
Closed

(v14): false-positive "Invalid regular expression: Invalid character class" #448

merlinnot opened this issue Nov 29, 2019 · 1 comment · Fixed by #454
Labels

Comments

@merlinnot
Copy link

Hi! I noticed a bug in the latest release with some regular expressions, as this one:

/^test-(?<name>[a-zA-Z-\d]+)$/u

It makes ESLint crash (not report an error, actually crash).

@sindresorhus
Copy link
Owner

// @jdanil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants