From 7c1520d37de1f965ae1c07d9f57ce527bdf2e2d8 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 15 Sep 2023 04:23:15 +0300 Subject: [PATCH] minor unnecessary improvement to a couple of regexes --- files/helpers/regex.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/files/helpers/regex.py b/files/helpers/regex.py index a7285b955..13b403606 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -121,10 +121,11 @@ imgur_regex = re.compile(f'(https:\/\/i\.imgur\.com\/[a-z0-9]+)\.({image_regex_e giphy_regex = re.compile('(https:\/\/media\.giphy\.com\/media\/[a-z0-9]+\/giphy)\.gif', flags=re.I|re.A) youtube_regex = re.compile('