diff --git a/Tools/bgen/bgen/scantools.py b/Tools/bgen/bgen/scantools.py index d6ee88c3f57..6919ad9e684 100644 --- a/Tools/bgen/bgen/scantools.py +++ b/Tools/bgen/bgen/scantools.py @@ -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 = []