Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
smallnamespace
on Sept 8, 2016
|
parent
|
context
|
favorite
| on:
The Correct Way to Validate Email Addresses
Why not go the other way and compute the edit distance to commonly used domain names, and then prompt the user and ask if it's correct?
E.g. if I type foo@googl.com, it should be pretty likely that I meant google.com.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
E.g. if I type foo@googl.com, it should be pretty likely that I meant google.com.