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
Why is this not considered valid regex?
The text was updated successfully, but these errors were encountered:
Correct: https?://(?!www)([a-z0-9]+[.])\\w+[.]com Yours: https?://(?!www)([a-z0-9]+[.])\w+[.]com
https?://(?!www)([a-z0-9]+[.])\\w+[.]com
https?://(?!www)([a-z0-9]+[.])\w+[.]com
Cause: \w gets escaped into just w. You'll want it to be \w therefor \\w.
\\w
If you don't use it already, use ESLint, it'll tell you about this! :)
Sorry, something went wrong.
Correct: https?://(?!www)([a-z0-9]+[.])\\w+[.]com Yours: https?://(?!www)([a-z0-9]+[.])\w+[.]com Cause: \w gets escaped into just w. You'll want it to be \w therefor \w. If you don't use it already, use ESLint, it'll tell you about this! :)
Cause: \w gets escaped into just w. You'll want it to be \w therefor \w.
And this would in turn fix it so the userRegex will match the solutionRegex
No branches or pull requests
Why is this not considered valid regex?
The text was updated successfully, but these errors were encountered: