From a193952c5e4abc26a93cba347aa3c895076f5243 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 3 Dec 2022 10:02:26 +0200 Subject: [PATCH] fix this https://stupidpol.site/h/slackernews/post/128394/advent-of-code-day-3-i/3177263?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 a36860477..bd2c64ee7 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -49,7 +49,7 @@ strikethrough_regex = re.compile('(^|\s|>)~{1,2}([^~]+)~{1,2}', flags=re.A) mute_regex = re.compile("\/mute @([a-z0-9_\-]{3,30}) ([0-9]+)", flags=re.A|re.I) emoji_regex = re.compile(f"

\s*(:[!#@]{{0,3}}[{valid_username_chars}]+:\s*)+<\/p>", flags=re.A) -emoji_regex2 = re.compile(f'(?)', flags=re.A) emoji_regex3 = re.compile(f'(?(.+?)<\/a>', flags=re.A)