master
Aevann1 2022-04-22 20:32:11 +02:00
parent 4460fdf5e4
commit f6d5fca338
2 changed files with 2 additions and 3 deletions

View File

@ -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_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) utm_regex2 = re.compile('[?&]utm_[a-z]+=[a-z0-9_]+', flags=re.A)
slur_regex = regex.compile(f"(?<!<(a|img) [^<]*)({single_words})", flags=regex.I|regex.A) slur_regex = re.compile(f"({single_words})(?![^<]*<\/(a|img))", flags=re.I|re.A)
slur_regex_upper = regex.compile(f"(?<!<(a|img) [^<]*)({single_words.upper()})", flags=regex.A) slur_regex_upper = re.compile(f"({single_words.upper()})(?![^<]*<\/(a|img))", flags=re.A)
torture_regex = re.compile('(^|\s)(i|me) ', flags=re.I|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) torture_regex2 = re.compile("(^|\s)i'm ", flags=re.I|re.A)

View File

@ -18,7 +18,6 @@ psutil
pyotp pyotp
qrcode qrcode
redis redis
regex
requests requests
SQLAlchemy SQLAlchemy
psycopg2-binary psycopg2-binary