Re:The “Chad” bug
by kevin_thibedeau on Thursday December 31, 2015 @11:56AM
(#10818405)
Where do you draw the line? I occasionally have valid GMail addresses with "+" in them rejected because someone wrote a crappy validator.
[ Parent
| on HN ]
Re:The “Chad” bug
by Dylan16807 on Thursday December 31, 2015 @05:33PM
(#10820089)
Allow all the characters that are supposed to be valid outside of quotation marks. Letters, numbers, .!#$%&'*+-/=?^_`{|}~
That way if you don't mind letting through double periods or domain segments having more than 63 characters, you can validate an email with two character classes separated by an @. The basic regex looks like [xx]+@[yy]+