This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fruch
Recipients fruch
Date 2012-02-03.06:50:22
SpamBayes Score 0.0012065885
Marked as misclassified No
Message-id <1328251823.76.0.3651219427.issue13929@psf.upfronthosting.co.za>
In-reply-to
Content
fnmatch to support escape characters:
like that:

>>> name = "Document[Ver.2].doc"
>>> pattern = "*\[Ver.2\]*"
>>> fnmatch.fnmatch(name, pattern)
True

that's also fix glob module:
>>> pattern = "ipconfig /\?"
>>> glob.glob(pattern)
"ipconfig /?"
History
Date User Action Args
2012-02-03 06:50:23fruchsetrecipients: + fruch
2012-02-03 06:50:23fruchsetmessageid: <1328251823.76.0.3651219427.issue13929@psf.upfronthosting.co.za>
2012-02-03 06:50:23fruchlinkissue13929 messages
2012-02-03 06:50:22fruchcreate