[issue10532] A bug related to matching the empty string
Matthew Barnett
report at bugs.python.org
Thu Nov 25 18:24:29 CET 2010
Matthew Barnett <python at mrabarnett.plus.com> added the comment:
The spans say this:
>>> for m in re.finditer('((.d.)*)*', 'adb'):
print(m.span())
(0, 3)
(3, 3)
There's an non-empty match followed by an empty match.
IHMO, not a bug.
----------
nosy: +mrabarnett
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10532>
_______________________________________
More information about the Python-bugs-list
mailing list