[issue16203] Proposal: add re.fullmatch() method
Serhiy Storchaka
report at bugs.python.org
Thu Oct 11 23:46:54 CEST 2012
Serhiy Storchaka added the comment:
What will be with non-greedy qualifiers? Should '.*?' full match any string?
>>> re.match('.*?$', 'abc').group()
'abc'
>>> re.match('.*?', 'abc').group()
''
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16203>
_______________________________________
More information about the Python-bugs-list
mailing list