3 ms·
And you demonstrate my point beautifully. First, "validating" an email address is pointless. This is why I can't use things like "+" or UTF-8 in an email addr
by bsder 11y ago
And you demonstrate my point beautifully.
First, "validating" an email address is pointless. This is why I can't use things like "+" or UTF-8 in an email address. You send to the email address and see if you get an error. The only people who should be parsing email addresses are mail programs.
And, second, RFC822 actually specifies a grammar so why would you expect a regex to do the job?