diff --git a/src/mlx/warnings/regex_checker.py b/src/mlx/warnings/regex_checker.py index f2e4cf48..da2d478c 100644 --- a/src/mlx/warnings/regex_checker.py +++ b/src/mlx/warnings/regex_checker.py @@ -15,7 +15,7 @@ PYTHON_XMLRUNNER_REGEX = r"(\s*(?PERROR|FAILED) (\[\d+\.\d{3}s\]: \s*(?P.+)))\n?" xmlrunner_pattern = re.compile(PYTHON_XMLRUNNER_REGEX) -COVERITY_WARNING_REGEX = r"(?P[\d\w/\\/-_]+\.\w+)(:(?P\d+)(:(?P\d+))?)?: ?CID (?P\d+) \(#(?P\d+) of (?P\d+)\): (?P.+): (?P[\w ]+),.+" +COVERITY_WARNING_REGEX = r"(?P[\w\.\\/\- ]+)(:(?P\d+)(:(?P\d+))?)?: ?CID (?P\d+) \(#(?P\d+) of (?P\d+)\): (?P.+): (?P[\w ]+),.+" coverity_pattern = re.compile(COVERITY_WARNING_REGEX)