[issue4573] zsh-style subpattern matching for fnmatch/glob

2020-10-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 2.7, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue4573] zsh-style subpattern matching for fnmatch/glob

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, is this zsh addition still relevant or out of date? -- nosy: +terry.reedy ___ Python tracker ___

[issue4573] zsh-style subpattern matching for fnmatch/glob

2010-09-27 Thread Constantin Veretennicov
Changes by Constantin Veretennicov : -- nosy: +kveretennicov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue4573] zsh-style subpattern matching for fnmatch/glob

2009-04-02 Thread Tim Golden
Tim Golden added the comment: Is there mileage for glob.glob to grow a dialect param, with a default value to keep it backwards compatible? Otherwise, presumably, proponents of some other xsh variant will come forward with their scheme of matching, and regex-followers with theirs and so on. ---

[issue4573] zsh-style subpattern matching for fnmatch/glob

2009-04-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: I like glob_ext() and fnmatch_ext(). -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-

[issue4573] zsh-style subpattern matching for fnmatch/glob

2009-04-01 Thread Erick Tryzelaar
Erick Tryzelaar added the comment: I completely agree, Georg. I tried to get this in before 3.0, but it didn't work out which is a shame. I assume you also feel that we couldn't make a backwards compatible change in 3.1, right? I thought I heard that 3.1 may break some things in 3.0, but I'm not

[issue4573] zsh-style subpattern matching for fnmatch/glob

2009-04-01 Thread Georg Brandl
Georg Brandl added the comment: This can't go in like this, since suddenly accepting braces is a subtle change of semantics. I could imagine adding another function though, that has extended zsh-like globbing abilities. -- nosy: +georg.brandl ___ Py

[issue4573] zsh-style subpattern matching for fnmatch/glob

2008-12-07 Thread Calvin Spealman
Changes by Calvin Spealman <[EMAIL PROTECTED]>: -- versions: +Python 2.7 ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list

[issue4573] zsh-style subpattern matching for fnmatch/glob

2008-12-07 Thread Calvin Spealman
Calvin Spealman <[EMAIL PROTECTED]> added the comment: This should be applicable to 2.7, at least, as well. Here is a backport of the patch against trunk. -- nosy: +ironfroggy Added file: http://bugs.python.org/file12273/zsh-fnmatch-2.7.diff ___ Pyth

[issue4573] zsh-style subpattern matching for fnmatch/glob

2008-12-07 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-

[issue4573] zsh-style subpattern matching for fnmatch/glob

2008-12-07 Thread Erick Tryzelaar
New submission from Erick Tryzelaar <[EMAIL PROTECTED]>: As I mentioned on python-ideas, I my project needs to extend fnmatch to support zsh-style globbing, where you can use brackets to designate subexpressions. Say you had a directory structure like this: foo/ foo.ext1 foo.ext2 bar/ foo.e