re.search much slower then grep on some regular expressions
Sebastian "lunar" Wiesner
basti.wiesner at gmx.net
Mon Jul 7 10:44:22 EDT 2008
Mark Wooding <mdw at distorted.org.uk>:
> 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?)
How come, that you think so?
--
Freedom is always the freedom of dissenters.
(Rosa Luxemburg)
More information about the Python-list
mailing list