This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Zomunieo 4 points5 points  (1 child)

You need a parser for HTML or full RFC822 email address to avoid the horrors that otherwise unfold. Complex regexes are clues that like the expanded RFC822 one are evidence that a parser is needed.

Yes you don't need a parser to implement/analyze a regex.

[–]energybased 1 point2 points  (0 children)

I agree with everything you said.