Re:Real Email Validation
by threedaymonk on Monday March 18, 2013 @12:25PM
(#5395166)
I just check for /.@./, which catches obvious errors like leaving out the email, or typing something in the wrong field. Beyond that, there's no point making assumptions (like "all domains have a dot").
[ Parent
| on HN ]
Today all domains have at least one dot in them. If, at some point in the future, you're allowed to have "jimmy@nike", directly at a TLD, we'll have bigger fish to fry than that.
Edge case city, there are perhaps a handful of people in the world without a dot in their domain, but yes, technically correct.
The thing is, for every legitimate bob@ai there are millions of erroneous bob@gmail mistakes that would slip through. At the very least a warning should be presented.