minus-squarerumba@lemmy.ziptoProgrammer Humor@programming.dev•Asking the real questionslinkfedilinkEnglisharrow-up5·4 hours agoThe regexes are written to comply with RFC 5332 and 6854 They are well defined and you can absolutely definitively check whether an address is allowable or not. https://datatracker.ietf.org/doc/html/rfc5322 linkfedilink
minus-squarerumba@lemmy.ziptoProgrammer Humor@programming.dev•Asking the real questionslinkfedilinkEnglisharrow-up16·5 hours agoworst thing is, the regex to check email has been available for decades and it’s fine with apostrophies linkfedilink
The regexes are written to comply with RFC 5332 and 6854
They are well defined and you can absolutely definitively check whether an address is allowable or not.
https://datatracker.ietf.org/doc/html/rfc5322