[docs] [issue36645] re.sub() library entry does not adequately document surprising change in behavior between versions

Josh Rosenberg report at bugs.python.org
Tue Apr 16 20:49:55 EDT 2019


Josh Rosenberg <shadowranger+python at gmail.com> added the comment:

I believe the second note under "Changed in 3.7" is intended to address this:

> Empty matches for the pattern are replaced when adjacent to a previous non-empty match.

Obviously not as detailed as the What's New entry, but it's there.

----------
nosy: +josh.r

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


More information about the docs mailing list