This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients anacrolix, brandon-rhodes, eric.araujo, eric.smith, ezio.melotti, georg.brandl, python-dev, r.david.murray, vstinner, xuanji
Date 2011-08-12.23:21:01
SpamBayes Score 0.00262413
Marked as misclassified No
Message-id <>
-_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:02ezio.melottisetrecipients: + ezio.melotti, georg.brandl, vstinner, eric.smith, eric.araujo, r.david.murray, brandon-rhodes, anacrolix, xuanji, python-dev
2011-08-12 23:21:02ezio.melottisetmessageid: <>
2011-08-12 23:21:01ezio.melottilinkissue9723 messages
2011-08-12 23:21:01ezio.melotticreate