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
"test test@test.com" won't pass since it's a regular space (0x0020), but "test test@test.com" will pass since it's a non breaking space (0x00A0).
In fact, /\s/ regex pattern is not checking for non breaking spaces.
Here is a thread about it: https://stackoverflow.com/questions/31790440/regex-to-replace-no-break-space
The text was updated successfully, but these errors were encountered:
I've created a PR (#2237) that hopefully addresses this issue in a satisfactory manner. I'd appreciate some feedback if a maintainer has the chance.
Sorry, something went wrong.
fix(isEmail) do not allow non-breaking space in user part (#2237)
63b1e4d
Co-authored-by: jpoole <jpoole@maxmind.com> fixes #2218
Successfully merging a pull request may close this issue.
"test test@test.com" won't pass since it's a regular space (0x0020), but "test test@test.com" will pass since it's a non breaking space (0x00A0).
In fact, /\s/ regex pattern is not checking for non breaking spaces.
Here is a thread about it: https://stackoverflow.com/questions/31790440/regex-to-replace-no-break-space
The text was updated successfully, but these errors were encountered: