[issue16990] re: match of nongreedy regex not grouping right

Jared Grubb report at bugs.python.org
Fri Jan 18 01:14:07 CET 2013


Jared Grubb added the comment:

Yes:
>>> re.match('.*', '')
<_sre.SRE_Match object at 0x107c6d308>
>>> re.match('.*?', '')
<_sre.SRE_Match object at 0x107c6d370>

----------

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


More information about the Python-bugs-list mailing list