From 2c77044cdc5227173b956d4c6f5f95857b37dfd9 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 1 Dec 2023 22:42:57 +0200 Subject: [PATCH] fix this https://rdrama.net/post/225420/ublock-filters-for-grinches-to-remove/5474763#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 92a6976dac..61a6b84216 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -4,7 +4,7 @@ from random import choice, choices from .config.const import * -NOT_IN_CODE_OR_LINKS = '(?!([^<]*<\/(code|pre|a)>|[^`\n]*`|(.|\n)*```))' +NOT_IN_CODE_OR_LINKS = '(?!([^<]*<\/(code|pre|a)>|[^`\n]*`))' valid_username_regex = re.compile("^[\w-]{3,25}$", flags=re.A) valid_username_patron_regex = re.compile("^[\w-]{1,25}$", flags=re.A)