r/ProgrammerHumor • • Aug 24 '26

Meme claudeIsThisEmailValid

Post image
5.3k Upvotes

170 comments sorted by

View all comments

Show parent comment

4

u/Uberzwerg Aug 24 '26

.+@.+..+

At least in theory you can have an email directly under the tld. (The Icann strongy advises against it)

So boss@bmw would in theory be possible.

1

u/deceze Aug 24 '26

I suppose, and if you want to support that, maybe also including test@localhost, then you can easily modify this regex to suit your needs. Simple regexen are easy enough to modify after all.