[release-monitoring] Fix default regex
The `i` flag is only allowed on start of the regex in python 3.11+. Let's adjust the regex to reflect that. For more info see: https://docs.python.org/3/library/re.html#regular-expression-syntax Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
5222f6ef87
commit
a6c97669e6
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ social_auth_authentication_backends = [
|
|||
|
||||
# Default regular expression used for backend
|
||||
default_regex = """\
|
||||
%(name)s(?:[-_]?(?:minsrc|src|source))?[-_]([^-/_\\s]+?)(?i)(?:[-_]\
|
||||
(?i)%(name)s(?:[-_]?(?:minsrc|src|source))?[-_]([^-/_\\s]+?)(?:[-_]\
|
||||
(?:minsrc|src|source|asc|release))?\\.(?:tar|t[bglx]z|tbz2|zip)\
|
||||
"""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue