'So you've got a problem, and you've decided to solve it with Regular Expressions. Now you've got two problems.'

Funny quote ripped off the Hanselman’s weblog. I like regex, but always worry about the maintainability. I think named captures help.


Darren Neimke
I’d love to know who "owns" that quote. First time I heard it was when Raymond Chen wrote in on Eric Gunnerson’s blog a while back:

1/07/2005 6:57:00 PM
Sean M
The original quote came from Jamie Zawinski (Who worked on Netscape)

"Some people, when confronted with a problem, think ‘I know, I’ll use regular expressions’. Now they have two problems."

Here is the original source:


3/07/2005 6:03:00 PM
Mitch Denny
But what else would you use for a legitimate text processing question?
28/07/2005 9:11:00 PM