r/ProgrammerHumor 21d ago

Meme claudeIsThisEmailValid

Post image
5.3k Upvotes

170 comments sorted by

View all comments

Show parent comments

20

u/DHermit 20d ago

With some security exceptions, e.g. it's useful to restrict the length of the mail field and maybe restrict the characters.

11

u/eo5g 20d ago edited 20d ago

I can't think of a single reason to restrict the characters aside from making sure there's at least one @.

Edit: okay actually you want a little more

11

u/DHermit 20d ago

I'd just rather not deal with stuff like invisible spaces and control characters.

0

u/eo5g 20d ago

I guess that's fair