Hacker News new | ask | show | jobs
by trolor 3487 days ago
It's OK; their email validation is borked (just put in anything matching `\w@\w`, no domain necessary) and give something random for the name. Modals like that are pretty standard practice for enterprise mumbo jumbo; they only need to catch someone foolish enough to put in real data once to be worthwhile.
1 comments

Arguably, that's as correct a way as any for validation for email.

http://www.regular-expressions.info/email.html

> Don't go overboard in trying to eliminate invalid email addresses with your regular expression. The reason is that you don't really know whether an address is valid until you try to send an email to it. And even that might not be enough.