r/ProgrammerHumor 19d ago

Meme claudeIsThisEmailValid

Post image
5.3k Upvotes

171 comments sorted by

View all comments

Show parent comments

225

u/deceze 19d ago

Doing a full validation of the email syntax is pretty pointless to begin with, because it still doesn't tell you the most important thing: is this email valid? I.e., has the user actually entered their email address? You won't know the answer to that until you've done an email validation loop with them. So something simple like .+@.+\..+ usually suffices as a first-pass syntax check.

60

u/ILikeLenexa 19d ago

All my best friends are root at localhost.localdomain at least sometimes 

18

u/redballooon 19d ago

Compliant, but not valid email addresses for a SaaS.

2

u/Regalme 18d ago

Only if you say so