"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.

Comments (3) -

Darren Neimke
Darren Neimke
7/1/2005 1:57:00 PM #

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:



blogs.msdn.com/.../79909.aspx#80053">blogs.msdn.com/.../79909.aspx#80053

Sean M
Sean M
7/3/2005 1:03:00 PM #

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:



http://www.jwz.org/hacks/marginal.html">http://www.jwz.org/hacks/marginal.html



Mitch Denny
Mitch Denny
7/28/2005 4:11:00 PM #

But what else would you use for a legitimate text processing question?

Comments are closed

Recent Tweets

Twitter May 22, 05:47
Listening to 'thus spake Zarathustra' in a loop all day. Everything seems way more epic.

Twitter May 17, 05:39
Why use add/edit/delete in your doco when you can use append, amend and annul. #whatcouldgowrong

Twitter May 15, 15:25
From the dark heart of the enterprise comes biztalk.js

Twitter May 15, 15:21
http://t.co/eMfOSWJ5gH good story

Twitter May 14, 08:33
Digital certs issued by Bruce schneier aren't identified by digital thumb print, they're identified by digital bite marks. #4yearoldjoke

@josephcooney

Latest Tool - logEnvy

logEnvy is the latest tool I've been working on for searching, sorting and filtering windows and IIS logs, and it's sexy! For more info check it out here.