Message254046
I see how it's not possible to compile that pattern as it's using recursion - I don't mind that.
However, I think this should be handled and re-raised as a re.error ("Exception raised [...] when some other error occurs during compilation or matching.").
I think no matter what the pattern is, it's quite unexpected to get anything other than a re.error (or a TypeError) from re.compile. |
|
Date |
User |
Action |
Args |
2015-11-04 10:26:25 | The Compiler | set | recipients:
+ The Compiler, effbot, pitrou, ezio.melotti, mrabarnett, serhiy.storchaka |
2015-11-04 10:26:25 | The Compiler | set | messageid: <1446632785.3.0.590011180655.issue25550@psf.upfronthosting.co.za> |
2015-11-04 10:26:25 | The Compiler | link | issue25550 messages |
2015-11-04 10:26:25 | The Compiler | create | |
|