This commit is contained in:
Aevann1 2022-04-22 16:15:17 +02:00
parent 97aba453c2
commit c2fee842f2
2 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ SLURS = {
"oldfag": "oldstrag",
"faggotry": "cute twinkry",
"faggot": "cute twink",
"fag": "cute twink",
" fag ": "cute twink",
"pedophile": "libertarian",
" pedo": "libertarian",
"kill yourself": "keep yourself safe",
@ -713,7 +713,7 @@ 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 = re.compile(f"(<p>[^<]*)({single_words.upper()})", flags=re.I|re.A)
slur_regex = re.compile(f"(<p>[^<]*)({single_words})", flags=re.I|re.A)
slur_regex_upper = re.compile(f"(<p>[^<]*)({single_words.upper()})", flags=re.A)
torture_regex = re.compile('(^|\s)(i|me) ', flags=re.I|re.A)
torture_regex2 = re.compile("(^|\s)i'm ", flags=re.I|re.A)