3 ms·
Nah, it will pass many validators even with semicolons (like http://emailregex.com http://emailregex.com, which yours would fail btw). You are right though abou
by kubanczyk 6y ago
Nah, it will pass many validators even with semicolons (like http://emailregex.com http://emailregex.com, which yours would fail btw). You are right though about better leaving spaces verbatim and adding the hyphens.
- contravariant 6y agoI can't help it that most email validators aren't following the standard ;-)
- krageon 6y agoThe standard is followed so infrequently that quoting it is basically an exercise in needless pedantic detail mongering. It's just not very relevant, probably because the rules to check valid email are so ridiculously complex (how long was that regex, 200+ characters?).
- contravariant 6y agoThe email address standard is hilarious and should be made fun of at every opportunity. The whole quoted-string commented multiline business (seriously, why?) is rightfully ignored by anyone who's ever made or used a mailserver, but it's still there.