regular expressions questions

David Fisher python at rose164.wuh.wustl.edu
Fri Mar 31 00:09:36 EST 2000


----- Original Message -----
From: "Darrell" <darrell at dorb.com>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Wednesday, March 29, 2000 8:35 PM
Subject: Re: regular expressions questions

[snip]
> Text searching is currently best done with re which is vastly faster than
> any Python code.
[snip]

This statement suprised me.  I had gotten the impression from lurking in the
newsgroup that the functions in the string module were as fast or faster for
many operations.

Is re really that much faster that string?

David






More information about the Python-list mailing list