diff --git a/lib/core/common.py b/lib/core/common.py index dc8fe510a..60b8153ce 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1956,7 +1956,7 @@ def extractRegexResult(regex, content, flags=0): retVal = None if regex and content and '?P' in regex: - match = re.search(regex, content, flags) + match = getCompiledRegex(regex, flags).search(content) if match: retVal = match.group("result")