ci: fix regex in guideline_check.py
Also match _ in file names.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/scripts/ci/guideline_check.py b/scripts/ci/guideline_check.py
index d55fa75..b85f5e3 100755
--- a/scripts/ci/guideline_check.py
+++ b/scripts/ci/guideline_check.py
@@ -26,7 +26,7 @@
def parse_coccinelle(contents: str, violations: dict):
- reg = re.compile("([a-zA-Z0-9/]*\\.[ch]:[0-9]*)(:[0-9\\-]*: )(.*)")
+ reg = re.compile("([a-zA-Z0-9_/]*\\.[ch]:[0-9]*)(:[0-9\\-]*: )(.*)")
for line in contents.split("\n"):
r = reg.match(line)
if r: