In <[EMAIL PROTECTED]>, Tim Smith
wrote:

> also, if you replace the regex with a test like lambda x:
> x.lower().find("destroy") != -1, you will get really close to the speed
> of perl's

Testing for ``'destroy' in x.lower()`` should even be a little bit faster.

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to