diff --git a/files/helpers/const.py b/files/helpers/const.py index 4d1f23b77..6871ff9c9 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -715,8 +715,8 @@ email_regex = re.compile('([A-Za-z0-9]+[.-_])*[A-Za-z0-9]+@[A-Za-z0-9-]+(\.[A-Z| utm_regex = re.compile('utm_[a-z]+=[a-z0-9_]+&', flags=re.A) utm_regex2 = re.compile('[?&]utm_[a-z]+=[a-z0-9_]+', flags=re.A) -slur_regex = regex.compile(f"(?<=

[^<]*)({single_words})", flags=regex.I|regex.A) -slur_regex_upper = regex.compile(f"(?<=

[^<]*)({single_words.upper()})", flags=regex.A) +slur_regex = regex.compile(f"(?