Which is faster...find or re. ?

Aahz aahz at pythoncraft.com
Fri Aug 2 20:10:34 CEST 2002

In article <7d3dc526.0208020948.15403600 at posting.google.com>,
Fearless Freep <joconnor at cybermesa.com> wrote:
>I'm doing some parsing on HTML files and lookfor for particular tags.

String functions/methods are usually faster than regular expressions.
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Project Vote Smart: http://www.vote-smart.org/

More information about the Python-list mailing list