The full spec for valid email addresses allows for comments in the email address! It's quite ridiculous. This means that any regular expression is not sufficient to comply with the RFC.
Accessibility First DevRel. I focus on ensuring content created, events held and company assets are as accessible as possible, for as many people as possible.
The full spec for valid email addresses allows for comments in the email address! It's quite ridiculous. This means that any regular expression is not sufficient to comply with the RFC.
RFC5322
Oh dear, Today I Learned that some people are insane, who the hell puts comments in an email address??? lol.
Thanks for that Matt, one to add to my bag of useless facts! 🤣