re.search much slower then grep on some regular expressions

Peter Otten __peter__ at web.de
Sat Jul 5 02:06:26 EDT 2008


Filipe Fernandes wrote:

> but why would you say this particular
> regex isn't common enough in real code?
 
As Carl says, it's not just the regex, it's the the combination with a long
line that exposes the re library's weakness.

Peter




More information about the Python-list mailing list