Movatterモバイル変換


[0]ホーム

URL:


homepage

Message183676

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Authormrabarnett
RecipientsAquinas, Tilka, a1abhishek, docs@python, eric.araujo, eric.smith, ezio.melotti, george.hu, kveretennicov, l0nwlf, maker, mrabarnett, serhiy.storchaka, terry.reedy
Date2013-03-07.16:28:03
SpamBayes Score-1.0
Marked as misclassifiedYes
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
DateUserActionArgs
2013-03-07 16:28:04mrabarnettsetrecipients: +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:03mrabarnettsetmessageid: <1362673683.99.0.978398232974.issue8402@psf.upfronthosting.co.za>
2013-03-07 16:28:03mrabarnettlinkissue8402 messages
2013-03-07 16:28:03mrabarnettcreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp