re.search much slower then grep on some regular expressions

Peter Otten __peter__ at web.de
Sat Jul 5 08:06:26 CEST 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