From 7243ed408f48bb20e5e6bda8e26961f70cd670db Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 13 Jul 2022 23:43:46 +0200 Subject: [PATCH] allow "I" as the first pronoun --- files/helpers/regex.py | 2 +- files/templates/settings_profile.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/helpers/regex.py b/files/helpers/regex.py index a7a0f28d7..6eeb33f87 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -102,7 +102,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]{2,5}/[a-z]{2,5}", flags=re.A) +pronouns_regex = re.compile("([a-z]{2,5}|i)/[a-z]{2,5}", flags=re.A) def sub_matcher(match, upper=False): if match.group(0).startswith('<'): diff --git a/files/templates/settings_profile.html b/files/templates/settings_profile.html index a3fb165cf..3131b3b5e 100644 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -466,7 +466,7 @@
- +
{2-5 characters} / {2-5 characters}