Message106545
| Author |
Aquinas |
| Recipients |
Aquinas, eric.smith, george.hu, l0nwlf |
| Date |
2010年05月26日.17:09:09 |
| SpamBayes Score |
4.556449e-05 |
| Marked as misclassified |
No |
| Message-id |
<1274893751.54.0.711225048374.issue8402@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Shouldn't the title be updated to indicate the fnmatch is the true source of the behavior (I'm basing this on http://docs.python.org/library/glob.html indicating the fnmatch is invoked by glob). I'm not using glob, but fnmatch in my attempt to find filenames that look like "Ajax_[version2].txt".
If nothing else, it would have helped me if the documentation would state whether or not the brackets could be escaped. It doesn't appear from my tests (trying "Ajax_\[version2\].txt" and "Ajax_\\[version2\\].txt") that 'escaping' is possible, but if the filter pattern gets turned into a regular expression, I think escaping *would* be possible. Is that a reasonable assumption?
I'm running 2.5.1 under Windows, and this is my first ever post to the bugs list. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年05月26日 17:09:11 | Aquinas | set | recipients:
+ Aquinas, eric.smith, l0nwlf, george.hu |
| 2010年05月26日 17:09:11 | Aquinas | set | messageid: <1274893751.54.0.711225048374.issue8402@psf.upfronthosting.co.za> |
| 2010年05月26日 17:09:09 | Aquinas | link | issue8402 messages |
| 2010年05月26日 17:09:09 | Aquinas | create |
|