This commit is contained in:
Willi Ballenthin
2022-03-28 13:17:35 -06:00
parent 031ea167e8
commit 963cfbf380
4 changed files with 9 additions and 9 deletions

View File

@@ -247,7 +247,7 @@ class InvalidAttckOrMbcTechnique(Lint):
self.enabled_frameworks = []
# This regex matches the format defined in the recommendation attribute
self.reg = re.compile("^([\w\s-]+)::(.+) \[([A-Za-z0-9.]+)\]$")
self.reg = re.compile("^([\\w\\s-]+)::(.+) \\[([A-Za-z0-9.]+)\\]$")
def _entry_check(self, framework, category, entry, eid):
if category not in self.data[framework].keys():