Message152495
| 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:23 | fruch | set | recipients:
+ fruch |
| 2012年02月03日 06:50:23 | fruch | set | messageid: <1328251823.76.0.3651219427.issue13929@psf.upfronthosting.co.za> |
| 2012年02月03日 06:50:23 | fruch | link | issue13929 messages |
| 2012年02月03日 06:50:22 | fruch | create |
|