[issue1708652] Exact matching
Tom Lynn
report at bugs.python.org
Sat Sep 18 13:57:28 CEST 2010
Tom Lynn <tlynn at users.sourceforge.net> added the comment:
Actually, looking at the second part of the docs for $ (on "foo.$") makes me think the main motivating case here may be a bug in re.match::
>>> re.match('foo$', 'foo\n\n')
>>> re.match('foo$', 'foo\n')
<_sre.SRE_Match object at 0x00A98678>
Shortening an input string shouldn't ever cause it to match, should it?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1708652>
_______________________________________
More information about the Python-bugs-list
mailing list