From bd6e62e9bf5d70bde71582222b33cb035318c8c4 Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Tue, 29 Mar 2022 11:26:21 -0600 Subject: [PATCH] Update scripts/lint.py Co-authored-by: Moritz --- scripts/lint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lint.py b/scripts/lint.py index 7c13793b..f3f16164 100644 --- a/scripts/lint.py +++ b/scripts/lint.py @@ -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(r"^([\w\s-]+)::(.+) \[([A-Za-z0-9.]+)\]$") def _entry_check(self, framework, category, entry, eid): if category not in self.data[framework].keys():