From 07695039d784b6dc7b2d588475aadd08c7ef9bdb Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 2 Jul 2023 19:40:31 +0300 Subject: [PATCH] escape / --- 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 a8a304302..57c56e2b3 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -150,7 +150,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("([a-z]{1,7})\/[a-z]{1,7}(\/[a-z]{1,7})?", flags=re.A|re.I) html_title_regex = re.compile("(.{1,200})", flags=re.I)