[issue34982] re.sub() different behavior in 3.7

Stephan Bergmann report at bugs.python.org
Wed Nov 7 09:55:15 EST 2018


Stephan Bergmann <stephan.bergmann.secondary at googlemail.com> added the comment:

So, just to make sure, that also means that

  re.sub('a*$', 'b', 'a')

returning 'bb' instead of 'b' is intended behavior?

----------
nosy: +Stephan Bergmann

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34982>
_______________________________________


More information about the Python-bugs-list mailing list