Re: re.search much slower then grep on some regular expressions

2008-07-08 Thread Henning Thornblad
On Jul 8, 2:48 am, John Machin <[EMAIL PROTECTED]> wrote: > On Jul 8, 2:51 am, Henning Thornblad <[EMAIL PROTECTED]> > wrote: > > > > > When trying to find an alternative way of solving my problem i found > > that running this script: > > >

Re: re.search much slower then grep on some regular expressions

2008-07-07 Thread Henning Thornblad
uldn't take even a second (The re.search part of course) This is for me very strange since this, in theory, is the same problem as before. /Henning Thornblad -- http://mail.python.org/mailman/listinfo/python-list