Use case-dependent variant of fnmatch
This commit is contained in:
parent
c2ed415a1b
commit
f808012f5e
|
@ -315,7 +315,7 @@ class Scanner:
|
|||
return arglist
|
||||
|
||||
def matcharg(self, patarg, arg):
|
||||
return len(filter(None, map(fnmatch.fnmatch, arg, patarg))) == 3
|
||||
return len(filter(None, map(fnmatch.fnmatchcase, arg, patarg))) == 3
|
||||
|
||||
def substituteargs(self, pattern, replacement, old):
|
||||
new = []
|
||||
|
|
Loading…
Reference in New Issue