Message355792
The notion of equivalent regular expressions does exist but is way more complicated than the simple example you described.
For example:
r"a|b" is the same as r"[ab]",
r"^aa*$" is the same as r"^a+$"
Implementing this properly would probably require a significant amount of effort, and just implementing simple equivalence for character classes would be really surprising.
Could you explain the use case and motivation behind this request? |
|
Date |
User |
Action |
Args |
2019-11-01 07:07:07 | ammar2 | set | recipients:
+ ammar2, ezio.melotti, mrabarnett, boris |
2019-11-01 07:07:07 | ammar2 | set | messageid: <1572592027.47.0.0748173265407.issue38660@roundup.psfhosted.org> |
2019-11-01 07:07:07 | ammar2 | link | issue38660 messages |
2019-11-01 07:07:07 | ammar2 | create | |
|