Message281017
Presumably something like:
r'(?:' + r'|'.join({re.escape(os.path.sep), re.escape(os.path.altsep)}) + r')'
would cover it completely. I switched to using non-capturing groups over a character class both to deal with the fact that escaping doesn't work the same way for character classes and to cover the possibility (no idea here) that some terrible OS might have a multicharacter path separator. |
|
Date |
User |
Action |
Args |
2016-11-17 02:00:15 | josh.r | set | recipients:
+ josh.r, Jim Nasby |
2016-11-17 02:00:14 | josh.r | set | messageid: <1479348014.96.0.0081044967134.issue28718@psf.upfronthosting.co.za> |
2016-11-17 02:00:14 | josh.r | link | issue28718 messages |
2016-11-17 02:00:14 | josh.r | create | |
|