[issue1761] Bug in re.sub()

Guido van Rossum report at bugs.python.org
Tue Jan 8 17:18:20 CET 2008

Guido van Rossum added the comment:

So if the input ends in '\n', '$' matches both before and after that
character, and two substitutions are made (even though multiline is not
set).  Seems a bug to me.

nosy: +gvanrossum

Tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list