-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
isEmail() doesnt work with XXX.YYY@ZZZ.com #6
Comments
I will take a look at it. Possibly need to update the regex for it. |
Same problem ¿Any solution? |
Hey @nisrulz I am also passing this issue. It doesn't accept . [DOT] in email id before @ sign. Let me know if you are going to fix it or guide me to do so. |
This is a tricky problem. I actually tried to fix this, but I didn't want to push a fix that was not complete. Here is more to read about the regex approach in detecting emails: https://emailregex.com/ The relevant regex from the above website:
I could just go ahead and use this, but I also get performance penalty. So I haven't yet found a valid solution for it. My suggestion is to use the custom regex functionality of this lib and provide it the regex from the linked website above. The reason is simple that putting it as part of the library would affect everyone, while using the custom regex version is only limited to people who actually want it and agree to the performance penalty. |
Hi,
the isEmail() function doesn't work with XXX.YYY@ZZZ.com but XXXYYY@ZZZ.com even though XXX.YYY is acceptable by most top email providers like outlook.com and gmail.com
The text was updated successfully, but these errors were encountered: