[oak perl] Most Annoying Regex?

David Fetter david at fetter.org
Tue Apr 6 12:39:09 CDT 2004


On Tue, Apr 06, 2004 at 10:23:40AM -0700, Tony Stubblebine wrote:
> I think the root problem is not that people write complicated
> regular expression, but that they write any regular expressions
> without tests or documentation. Even if your regex is simple, your
> data isn't. Here's a simple regex that crops up every place I work.

Excellent point re: tests & docs.  I contend that complicated regexes
make these things go from difficult and time-consuming to
un-bloody-likely to be done at all.

Cheers,
D
-- 
David Fetter david at fetter.org http://fetter.org/
phone: +1 510 893 6100   mobile: +1 415 235 3778

Remember to vote!



More information about the Oakland mailing list