Message335838
chr(92) is a single backspace character ('\\'). Since backspace has special meaning in the replacement string, it should be escaped.
re.sub(r'\\\\', r'\\', stringy_thingy) |
|
Date |
User |
Action |
Args |
2019-02-18 14:53:36 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ezio.melotti, mrabarnett, Samuel Warfield |
2019-02-18 14:53:36 | serhiy.storchaka | set | messageid: <1550501616.85.0.423805060536.issue35072@roundup.psfhosted.org> |
2019-02-18 14:53:36 | serhiy.storchaka | link | issue35072 messages |
2019-02-18 14:53:36 | serhiy.storchaka | create | |
|