Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just a top level domain after the @ is a valid email (e.g. foo@com). Things like this are why we end up with massive regular expressions for email validation. That said, if you are only warning the user, but not preventing them from submitting foo@com, then it is probably good enough.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: