re.search much slower then grep on some regular expressions
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Mon Jul 7 11:12:30 EDT 2008
On Mon, 07 Jul 2008 16:44:22 +0200, Sebastian \"lunar\" Wiesner wrote:
> 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?
The '#' is usually the prompt of root accounts while ordinary users get a '$'.
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list