From c385e12f9d76256fb00d66c5be92bc48928a2eb5 Mon Sep 17 00:00:00 2001 From: TLSM Date: Mon, 11 Jul 2022 13:34:46 -0400 Subject: [PATCH] Minor fix for pronouns logic. --- files/helpers/regex.py | 2 +- files/templates/settings_profile.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/helpers/regex.py b/files/helpers/regex.py index bbb92d140..3504a1abc 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -101,7 +101,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-5}\/[a-z]{1-5}", flags=re.A) +pronouns_regex = re.compile("[a-z]{1,5}/[a-z]{1,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 1a2da7193..eee407efd 100644 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -464,9 +464,9 @@
-
+ - +
{1-5 characters} / {1-5 characters}