re.search much slower then grep on some regular expressions
Mark Wooding
mdw at distorted.org.uk
Sun Jul 6 17:36:36 EDT 2008
Sebastian "lunar" Wiesner <basti.wiesner at gmx.net> wrote:
> # perl -e '("a" x 100000) =~ /^(ab?)*$/;'
> zsh: segmentation fault perl -e '("a" x 100000) =~ /^(ab?)*$/;'
(Did you really run that as root?)
> It'd be interesting to know, how CL-PPCRE performs here (I don't know this
> library).
Stack overflow condition. :-(
-- [mdw]
More information about the Python-list
mailing list