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.
If you know context-free language, recursive-descent parsers are fairly simple to write and maintain without any special tools.