Re:The Public Suffix List
by spc476 on Thursday August 18, 2016 @04:00PM
(#12315877)
If you feel you really have to validate an email address without sending an email to said address, don't use a regex. Use something that's meant for parsing, like LPeg (for example: https://github.com/spc476/LPeg-Parsers/blob/ee63df57826fd5ef... which handles the RFC grammar, including comments) or lex/yacc or something other than a regex.
[ Parent
| on HN ]
There are no comments on this comment yet.