Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15077
___
Serhiy Storchaka storch...@gmail.com added the comment:
I think it's a bug. The issue can be closed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15077
___
Serhiy Storchaka storch...@gmail.com added the comment:
I think it's *not* a bug. The issue can be closed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15077
___
Matthew Barnett pyt...@mrabarnett.plus.com added the comment:
It's not a bug, it's a pathological regex (i.e. it causes catastrophic
backtracking).
It also works correctly in the regex module.
--
___
Python tracker rep...@bugs.python.org
New submission from Moriyoshi Koizumi mozo+pyt...@mozo.jp:
A peculiar pair of a regexp and a target string causes the runtime into an
infinite loop. The same expression works with Perl.
--
components: Regular Expressions
files: x.py
messages: 162883
nosy: ezio.melotti, moriyoshi,
Serhiy Storchaka storch...@gmail.com added the comment:
This is not infinite loop. This is O(2**len(prefix_before_first_quote))
computation. Measure times of matching for INSER(`id`..., INSERT(`id`...,
INSERT (`id`..., INSERT I(`id`..., etc.
Better use