Message383239
In a regex, putting a backslash before any character that's not an ASCII-range letter or digit makes it a literal. re.escape doesn't special-case control characters. Its purpose is to make a string that might contain metacharacters into one that's a literal, and it already does that, although it sometimes escapes more than necessary. |
|
Date |
User |
Action |
Args |
2020-12-17 12:55:57 | mrabarnett | set | recipients:
+ mrabarnett, ezio.melotti, MartinAltmayer |
2020-12-17 12:55:57 | mrabarnett | set | messageid: <1608209757.79.0.655058138665.issue42668@roundup.psfhosted.org> |
2020-12-17 12:55:57 | mrabarnett | link | issue42668 messages |
2020-12-17 12:55:57 | mrabarnett | create | |
|