[Linux-disciples] Negated character class versus non-greedy match

Stephen R Laniel steve at laniels.org
Sat Mar 6 09:17:08 EST 2004


 From the Blosxom mailing list I'm on:

/*
One of my perl-friends (works for ActiveState, the Perl guys)
suggested that the negated character class was safer/faster
than the non-greedy match (an early version of the plugin
used that exact pattern). I haven't proved him wrong (or
right) yet ... and can change it if you'd like.  It's one of
those things I've been meaning to look up (or test) but
haven't had the time.
*/

Does anyone know whether this is true?

-- 
``You set your aspirations for the outside of your fishtank.''
 -Chris Rugen, 2 March 2004



More information about the Linux-disciples mailing list