Message141997
-_find_unsafe = re.compile(r'[^\w\d@%_\-\+=:,\./]').search
+_find_unsafe = re.compile(r'[^\w@%\-\+=:,\./]', re.ASCII).search
FWIW there are still unnecessary escapes before '+' and '.', and possibly '-' ('-' doesn't need escaping only when it's at the end (or beginning) of the regex). |
|
Date |
User |
Action |
Args |
2011-08-12 23:21:02 | ezio.melotti | set | recipients:
+ ezio.melotti, georg.brandl, vstinner, eric.smith, eric.araujo, r.david.murray, brandon-rhodes, anacrolix, xuanji, python-dev |
2011-08-12 23:21:02 | ezio.melotti | set | messageid: <1313191262.35.0.881232463275.issue9723@psf.upfronthosting.co.za> |
2011-08-12 23:21:01 | ezio.melotti | link | issue9723 messages |
2011-08-12 23:21:01 | ezio.melotti | create | |
|