Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 997b8c1 commit b65cb16Copy full SHA for b65cb16
1 file changed
Doc/whatsnew/3.7.rst
@@ -1146,7 +1146,7 @@ Changes in the Python API
1146
1147
:func:`re.sub()` now replaces empty matches adjacent to a previous
1148
non-empty match. For example ``re.sub('x*', '-', 'abxd')`` returns now
1149
- ``'-a-b--d-'`` instead of ``'-a-b--d-'`` (the first minus between 'b' and
+ ``'-a-b--d-'`` instead of ``'-a-b-d-'`` (the first minus between 'b' and
1150
'd' replaces 'x', and the second minus replaces an empty string between
1151
'x' and 'd').
1152
0 commit comments