Issue 2649: poss. patch for fnmatch.py to add {.htm,html} style globbing (original) (raw)

Issue2649

Created on 2008-04-17 11:56 by mark, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
fnmatch.py mark,2008-04-17 11:56 Replacement for fnmatch.py with new translate() function and updated docs
Messages (3)
msg65584 - (view) Author: Mark Summerfield (mark) * Date: 2008-04-17 11:56
At the moment fnmatch.py (and therefore glob.py) support: * . [chars] [!chars] The attached version of fnmatch.py extends this to: * . [chars] [!chars] {one,two,...} There are 2 changes from the original fnmatch.py file: (1) The documentation for the fnmatch() function has been updated to reflect the new functionality (2) The translate() function has been completely replaced. I ran test_fnmatch.py and test_glob.py and both ran without errors.
msg92225 - (view) Author: Tim Hatch (thatch) * Date: 2009-09-03 22:25
More discussion has gone on in issue #4573 on this topic. Can this bug be marked as a duplicate?
msg92234 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-09-04 06:52
Yes, I think that's fine.
History
Date User Action Args
2022-04-11 14:56:33 admin set github: 46901
2009-09-04 06:52:18 georg.brandl set status: open -> closednosy: + georg.brandlmessages: + superseder: zsh-style subpattern matching for fnmatch/globresolution: duplicate
2009-09-03 22:25:52 thatch set nosy: + thatchmessages: +
2008-04-17 11:56:41 mark create