From f4b885afa88c07cf6eaac94f77b11c22f242c619 Mon Sep 17 00:00:00 2001 From: transbitch <> Date: Tue, 5 Sep 2023 13:52:43 -0400 Subject: [PATCH] Remove useless part of regex --- 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 75b367fb9..11a0463ad 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -128,7 +128,7 @@ twitch_regex = re.compile('(https:\/\/)?(www\.)?twitch.tv\/(.*)', flags=re.I|re. link_fix_regex = re.compile("(\[.*?\]\()(?!http|\/)(.*?\))" + NOT_IN_CODE_OR_LINKS, flags=re.A) -css_url_regex = re.compile('url\(\s*[\'"]?(.*)[\'"]?', flags=re.I|re.A) +css_url_regex = re.compile('url\(\s*[\'"]?(.*)', flags=re.I|re.A) linefeeds_regex = re.compile("([^\n])\n([^\n])", flags=re.A) -- 2.34.1