this post was submitted on 14 Feb 2025
875 points (98.6% liked)
Programmer Humor
20039 readers
1387 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What about
"user@not_domain"
? It validates but isn't valid - there's no domain part, the@
is quotedThat's not something you can determine using a regex.
"user@com" for example could be a perfectly working email.
The right way is to send a verification email in every case.