News for hackers. Stuff that matters.
Re:I don't know Regex by joe_the_user on Tuesday September 03, 2013 @08:30PM (#6324819)
At that rate, I can't see any good reason to use regexes for email ever.

If you know context-free language, recursive-descent parsers are fairly simple to write and maintain without any special tools.

Re:I don't know Regex by cheald on Tuesday September 03, 2013 @10:18PM (#6325188)
Well, if you want a spec-compliant email validator, then yeah, you probably want an actual parser. Most people are happy enough with a good-enough pattern match, though, which is substantially less code.