Message183676
| Author |
mrabarnett |
| Recipients |
Aquinas, Tilka, a1abhishek, docs@python, eric.araujo, eric.smith, ezio.melotti, george.hu, kveretennicov, l0nwlf, maker, mrabarnett, serhiy.storchaka, terry.reedy |
| Date |
2013年03月07日.16:28:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1362673683.99.0.978398232974.issue8402@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I've attached fnmatch_implementation.py, which is a simple pure-Python implementation of the fnmatch function.
It's not as susceptible to catastrophic backtracking as the current re-based one. For example:
fnmatch('a' * 50, '*a*' * 50)
completes quickly. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年03月07日 16:28:04 | mrabarnett | set | recipients:
+ mrabarnett, terry.reedy, eric.smith, kveretennicov, ezio.melotti, eric.araujo, l0nwlf, george.hu, docs@python, maker, Aquinas, Tilka, serhiy.storchaka, a1abhishek |
| 2013年03月07日 16:28:03 | mrabarnett | set | messageid: <1362673683.99.0.978398232974.issue8402@psf.upfronthosting.co.za> |
| 2013年03月07日 16:28:03 | mrabarnett | link | issue8402 messages |
| 2013年03月07日 16:28:03 | mrabarnett | create |
|