From fcf600cb355d1ce5599823059b86c870232ddaf3 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 24 Jun 2022 16:45:19 +0200 Subject: [PATCH] fix this https://chapotraphouse.club/post/79771/workaholics-are-worse-for-society-than/2183396?context=8#context --- files/helpers/regex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/regex.py b/files/helpers/regex.py index 413e2b4f3a..64581a0255 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -48,7 +48,7 @@ emoji_regex = re.compile(f"

\s*(:[!#@]{{0,3}}[{valid_username_chars}]+:\s*)+<\ emoji_regex2 = re.compile(f'(?(.+?)<\/a>', flags=re.A) +snappy_url_regex = re.compile('(.+?)<\/a>', flags=re.A) email_regex = re.compile('[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}', flags=re.A|re.I)