Python re module
catlee at my-deja.com
catlee at my-deja.com
Tue Jul 13 13:20:43 EDT 1999
More information about the Python-list mailing list
Tue Jul 13 13:20:43 EDT 1999
- Previous message (by thread): Python re module
- Next message (by thread): Python re module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <14217.63630.458437.222314 at amarok.cnri.reston.va.us>, "Andrew M. Kuchling" <akuchlin at mems-exchange.org> wrote: ... > However, GvR reports that it isn't actually hanging, just > taking a long time to finish. I think it escapes the infinite loop > because \1+ is actually treated the same as \1{0,INT_MAX}, so once > it's counted up to INT_MAX (2**31-1) = 2.1 billion, it then returns. > > The latest version of PCRE, v2.06, does not have a problem with > this (more checks for repeated null-string matches have been added), > so I think the problem will be fixed when the Python module is > resynchronized with the latest version. Ok, that makes sense. Two questions: where can I get the latest version of PCRE and how can I tell (from python) what version of PCRE I am using? Thanks, Chris Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.
- Previous message (by thread): Python re module
- Next message (by thread): Python re module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list