We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Z-a
New users may use /[A-f]/, to match [A-Za-f] or [A-Fa-F], but it's neither, there are other strings in this range, they just don't know.
/[A-f]/
[A-Za-f]
[A-Fa-F]
/[A-f]/.test('[') true
/[A-z]/
Any range include Z-a
/[A-Za-z]/
The text was updated successfully, but these errors were encountered:
Maybe also 9-A
9-A
Sorry, something went wrong.
#122 does exactly this :)
regexp/no-obscure-range
Thanks!
Successfully merging a pull request may close this issue.
New users may use
/[A-f]/
, to match[A-Za-f]
or[A-Fa-F]
, but it's neither, there are other strings in this range, they just don't know.Fail
/[A-z]/
Any range include
Z-a
Pass
/[A-Za-z]/
The text was updated successfully, but these errors were encountered: