[issue14460] In re's positive lookbehind assertion repetition works

py.user report at bugs.python.org
Thu Jun 26 21:49:53 CEST 2014


py.user added the comment:

Tim Peters wrote:
> (?<=a)(?<=a)(?<=a)(?<=a)


There are four different points.
If a1 before a2 and a2 before a3 and a3 before a4 and a4 before something.

Otherwise repetition of assertion has no sense. If it has no sense, there should be an exception.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14460>
_______________________________________


More information about the Python-bugs-list mailing list