From 991e85b29720b17a8779d3b291636983419e0103 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 12 Feb 2024 15:28:06 +0200 Subject: [PATCH] fix this https://rdrama.net/post/231344/now-that-its-holiday-season-marseysanta3/5614390#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 7980c87fd..0f391af52 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -167,7 +167,7 @@ def command_regex_matcher(match, upper=False): reason_regex_post = re.compile('(/post/[0-9]+)', flags=re.A) reason_regex_comment = re.compile('(/comment/[0-9]+)', flags=re.A) -numbered_list_regex = re.compile('((\n|^)[0-9]+)[\.)] ', flags=re.A) +numbered_list_regex = re.compile('((\n|^)>*[0-9]+)[\.)] ', flags=re.A) image_link_regex = re.compile(f"https:\/\/(i\.)?{SITE}\/(chat_)?images\/[0-9]{{11,17}}r?\.webp", flags=re.A)