From 6e8429e378a433f23e6be66458afc58ea9743da7 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 5 Apr 2024 08:09:45 +0200 Subject: [PATCH] fix this https://rdrama.net/notification/6104083#context --- files/helpers/regex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)