[oak perl] Most Annoying Regex?
David Fetter
david at fetter.org
Tue Apr 6 12:06:01 CDT 2004
On Mon, Apr 05, 2004 at 10:59:13PM -0700, George Woolley wrote:
> On Monday 05 April 2004 3:09 pm, David Fetter wrote:
> > On Mon, Apr 05, 2004 at 03:13:12PM -0700, George Woolley wrote:
> > > What's the most annoying regex you've encountered?
> >
> > Anything that doesn't fit on one line. After that, they're all
> > equally annoying, and don't belong in production code. :)
> >
> > Cheers,
> > D
>
> David,
> Thanks for the provocative response.
>
> Based on your response, my understanding is that your position is
> that there are no production environments in which which it is ever
> appropriate to use regular expressions in production code.
> Is that your view?
I don't know how you managed to get that out of what I said. In my
experience, *complicated* regexes don't belong in production code.
Multiple simple ones are a lot easier to code, debug, &c.
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