diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-01-04 09:06:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-04 09:06:13 (GMT) |
commit | fbb490fd2f38bd817d99c20c05121ad0168a38ee (patch) | |
tree | 417d39bc824e6e62503f94033dbd2b37a8b5545b /Misc | |
parent | 0cc99c8cd70d422e4b345837a907db30e9180ab9 (diff) | |
download | cpython-fbb490fd2f38bd817d99c20c05121ad0168a38ee.zip cpython-fbb490fd2f38bd817d99c20c05121ad0168a38ee.tar.gz cpython-fbb490fd2f38bd817d99c20c05121ad0168a38ee.tar.bz2 |
bpo-32308: Replace empty matches adjacent to a previous non-empty match in re.sub(). (#4846)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2017-12-13-20-31-30.bpo-32308.CUbsb2.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-12-13-20-31-30.bpo-32308.CUbsb2.rst b/Misc/NEWS.d/next/Library/2017-12-13-20-31-30.bpo-32308.CUbsb2.rst new file mode 100644 index 0000000..d760d608 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2017-12-13-20-31-30.bpo-32308.CUbsb2.rst @@ -0,0 +1,2 @@ +:func:`re.sub()` now replaces empty matches adjacent to a previous non-empty +match. |