summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/python/qmk/cli/mass_compile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/mass_compile.py b/lib/python/qmk/cli/mass_compile.py
index 2821a60c87..810350b954 100755
--- a/lib/python/qmk/cli/mass_compile.py
+++ b/lib/python/qmk/cli/mass_compile.py
@@ -106,7 +106,7 @@ def mass_compile(cli):
def _make_filter(k, v):
expr = fnmatch.translate(v)
- rule = re.compile(expr, re.IGNORECASE)
+ rule = re.compile(f'^{expr}$', re.IGNORECASE)
def f(e):
lhs = e[2].get(k)