-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Noticing some odd matches #9
Comments
I've been using:
personally and its been pretty solid |
This regex started out for use with email validation. That's why it's so loose. For the use it's better to have false-positives, than false-negatives. I think we could make the regex stricter when the |
Fair enough |
I have published https://github.com/niftylettuce/email-regex-safe as an alternative to this package, with a lot of configurable options. PR's welcome. |
Hi And using the below regex:
But its not fulfilling my requirement, my requirement is below:
please anyone tell me, why this regex is not working for my above mentioned case. Regards |
I was testing a few blobs of text with this regex rule but found some odd matches such as:
This should return zero results, but, it returns :
f="nr@context",c=e("go
as a match.Have you seen some of the regex suggestions here?
The text was updated successfully, but these errors were encountered: