Nothing will ever beat RegexBuddy when it comes to Regex tools. It is an entire IDE just for regex, and has been my not-so-secret weapon for a decade or more.
Even that is wrong because you can have privately owned TLDs (I forget what they're technically called) like .google
So sundar.pichai@google is technically a valid address (whether .google has any MX records is another matter) Regex shouldn't really be used for email addresses anyway because the only reliable way to authenticate an email address is to literally send an email to that address.
Is there a bug? In regexp for IPv4: https://ihateregex.io/expr/ip expression ends with {3} but the diagram states "2 times" in lower right - shouldn't it say "3 times"?
Comments (129) 40 threads
Earlier comments2 points:
which removes the 2 ampersands problem.1. it fiddled with my back button which is a bit annoying
2. a better email sample is
I think I know what's wrong with your back button. I will fix it.
And for the regex. will try it out and see if I can add it.
So sundar.pichai@google is technically a valid address (whether .google has any MX records is another matter)
Regex shouldn't really be used for email addresses anyway because the only reliable way to authenticate an email address is to literally send an email to that address.
i.e. johndoe@com will never exist
Continue this thread — 2 replies
Because if I specify x{0,3}, i have 2 paths - around x and thru x + at most 2 more times
All comments shown.
Couldn't load more comments. Check your connection and try again.