Message145547
| Author |
mrabarnett |
| Recipients |
brian.curtin, ezio.melotti, mrabarnett, techmaurice, vstinner |
| Date |
2011年10月14日.16:28:24 |
| SpamBayes Score |
0.00015062228 |
| Marked as misclassified |
No |
| Message-id |
<1318609705.0.0.950902784764.issue13169@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The limit is an implementation detail. The pattern is compiled into codes which are then interpreted, and it just happens that the codes are (usually) 16 bits, giving a range of 0..65535, but it uses 65535 to represent no limit and doesn't warn if you actually write 65535.
There's an alternative regex implementation here:
http://pypi.python.org/pypi/regex |
|