re.search much slower then grep on some regular expressions
paddy3118 at googlemail.com
Sat Jul 5 09:31:24 CEST 2008
On Jul 5, 7:01 am, Peter Otten <__pete... at web.de> wrote:
> 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...
The following isn't the article I read on regexp types and their speed
differences but it does give info on regexp engine types:
More information about the Python-list