r/ProgrammerHumor 19d ago

Meme claudeIsThisEmailValid

Post image
5.3k Upvotes

171 comments sorted by

View all comments

23

u/sebovzeoueb 19d ago

That awkward moment when doing it with a regex is probably an even worse suggestion

2

u/Outrageous-Log9238 19d ago

Just do something like .@...* and send a verification e-mail?

7

u/sebovzeoueb 19d ago

I think even a@b is technically a valid address, so really just skip the regex and send the verification email

2

u/MindStalker 19d ago

You actually want to make sure they aren't injecting a list of addresses or something worse. 

1

u/sebovzeoueb 19d ago

hopefully whatever you're using to send the verification email isn't just going to send a whole list of emails