re.search much slower then grep on some regular expressions

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


Paddy wrote:

> It is not a smarter algorithm that is used in grep. Python RE's have
> more capabilities than grep RE's which need a slower, more complex
> algorithm.

So you're saying the Python algo is alternatively gifted...

Peter



More information about the Python-list mailing list