Message355791
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. |
|
Date |
User |
Action |
Args |
2019-11-01 06:22:35 | boris | set | recipients:
+ boris, ezio.melotti, mrabarnett |
2019-11-01 06:22:35 | boris | set | messageid: <1572589355.53.0.484947747448.issue38660@roundup.psfhosted.org> |
2019-11-01 06:22:35 | boris | link | issue38660 messages |
2019-11-01 06:22:35 | boris | create | |
|