Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
alxmng
· 3y ago · 0 comments
Should be /^[^@]+@[^@]+$/ at least, because you need something before and after @
Comments
[–]
etu
3y ago
It's allowed to have @ as part of the local part if it's quoted. So that wouldn't match my email `"foo@bar"@example.org`