From 467c3f45cfa1585ddcb224228d0f0fa3e6ad596c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 27 Mar 2022 16:49:44 +0200 Subject: [PATCH] dg --- files/helpers/const.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index 1f8fd5246..76beebb85 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -688,7 +688,7 @@ title_regex = re.compile("[^\w ]", flags=re.A) based_regex = re.compile("based and (.{1,20}?)(-| )pilled", flags=re.I|re.A) -controversial_regex = re.compile('["> ](https:\/\/old.reddit.com/r/[a-zA-Z0-9_]{3,20}\/comments\/.*?)["< ]', flags=re.A) +controversial_regex = re.compile('["> ](https:\/\/old\.reddit\.com/r/[a-zA-Z0-9_]{3,20}\/comments\/.*?)["< ]', flags=re.A) fishylinks_regex = re.compile("https?://\S+", flags=re.A) @@ -712,7 +712,7 @@ snappy_url_regex = re.compile('