[issue16203] Proposal: add re.fullmatch() method

Tim Peters report at bugs.python.org
Sat Oct 13 07:28:21 CEST 2012


Tim Peters added the comment:

Matthew, Guido wrote "check that the whole input string matches" (or slice if pos and (possibly also) endpos is/are given).  So, yes, \Z is more to the point than $ if people want to continue wasting time trying to implement this as a Python-level function ;-)

I don't understand what you're asking about MULTILINE.  What's the issue there?  Focus on Guido's "whole input string matches", not on his motivational talk about "a regex ending in $".  $ and/or \Z aren't the point here; "whole input string matches" is the point.

----------

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


More information about the Python-bugs-list mailing list