Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems. – Jamie Zawinski
If you have an idle moment to spare, read this post by Frank van Puffelen and the ensuing discussion between him and Alan Moore.
NB. I don’t want to pick on them; it’s just impressive how mind-bogglingly complex regular expressions can become even for simple tasks.