Message283628
There is a problem with your replacement template. Python string literal '\\' is Python string containing a single backslash character. But backslash has special meaning in a replacement template, it starts escapes and backreferences. For using a literal backslash, it should be escaped: r'\\' or '\\\\'.
>>> re.sub(pat, r'\\', path)
'd:\\temp\\' |
|
Date |
User |
Action |
Args |
2016-12-19 16:02:01 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ezio.melotti, mrabarnett, Сергей Снегирёв |
2016-12-19 16:02:01 | serhiy.storchaka | set | messageid: <1482163321.69.0.0905111341732.issue29015@psf.upfronthosting.co.za> |
2016-12-19 16:02:01 | serhiy.storchaka | link | issue29015 messages |
2016-12-19 16:02:01 | serhiy.storchaka | create | |
|