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 boris
Recipients boris, ezio.melotti, mrabarnett
Date 2019-11-01.06:22:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572589355.53.0.484947747448.issue38660@roundup.psfhosted.org>
In-reply-to
Content
re.compile('([-_.a-zA-Z0-9]+)') == re.compile(r'([-\w.]+)') 

should return True because those are the same regex (\w is a-z, A-Z, 0-9 and the underscore). 

If you want to check if two regexes are identical you would compare the original strings, before re.compile.
History
Date User Action Args
2019-11-01 06:22:35borissetrecipients: + boris, ezio.melotti, mrabarnett
2019-11-01 06:22:35borissetmessageid: <1572589355.53.0.484947747448.issue38660@roundup.psfhosted.org>
2019-11-01 06:22:35borislinkissue38660 messages
2019-11-01 06:22:35boriscreate