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

For example, an email like

David.Calhoun@boeing.com

would be completely normal.

Yet the above regex would not match it. Whoops.

Likewise,

can_you_believe_it@hotmail.com

which is also completely normal and typical, would fail the regex as well.

But I guess if the only kind of customers you want are the

fred@hotstartup.com

and

jane@some-vc.com

people then sure, this otherwise wholly inadequate regex would serve you well.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: