diff --git a/files/helpers/regex.py b/files/helpers/regex.py index b3cedd768..bda6fb306 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -143,7 +143,7 @@ search_token_regex = re.compile('"([^"]*)"|(\S+)', flags=re.A) git_regex = re.compile("ref: (refs/.+)", flags=re.A) -pronouns_regex = re.compile("([a-z]{1,7})\/[a-z]{1,7}(\/[a-z]{1,7})?", flags=re.A|re.I) +pronouns_regex = re.compile("(\w{1,7})\/\w{1,7}(\/\w{1,7})?", flags=re.A) html_title_regex = re.compile("(.{1,200})", flags=re.I)