6 ms·
Show me a pomsky for matching any valid email pls.
by g5095 4y ago
Show me a pomsky for matching any valid email pls.
- Intermernet 4y agoMatching email addresses with any regular expression is fraught with errors. It can be done, depending on which RFC you are checking against, but in the real world it will eventually cause a problem. You're better off using an actual parser (which will probably implement a state machine), writing a state machine yourself, or being overly accepting of invalid email addresses and just relying on attempting to deliver an email to the address. See http://cubicspot.blogspot.com/2012/06/correct-way-to-validate-e-mail-address.html http://cubicspot.blogspot.com/2012/06/correct-way-to-validat... for more discussion.
- deleted 4y ago[deleted]