From a60a061cc9e64545a8d71f514933029238cc51c6 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 4 Apr 2022 12:23:31 +0200 Subject: [PATCH] doecore --- files/helpers/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index ec0d960cc..280972d00 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -694,7 +694,7 @@ fishylinks_regex = re.compile("https?://\S+", flags=re.A) spoiler_regex = re.compile('\|\|(.*?)\|\|', flags=re.A) video_regex = re.compile('

(https:\/\/.*?\.(mp4|webm|mov))<\/a><\/p>', flags=re.I|re.A) -unlinked_regex = re.compile('(^|\s|

)(https:\/\/[^ <>]*)', flags=re.A) +unlinked_regex = re.compile('''(^|\s|

)(https:\/\/[^ <>"']*)''', flags=re.A) imgur_regex = re.compile('(https://i\.imgur\.com/([^_]*?))\.(jpg|png|jpeg|webp)(?!)', flags=re.A) reddit_regex = re.compile('(^|\s|

)\/?((r|u)\/(\w|-){3,25})', flags=re.A) sub_regex = re.compile('(^|\s|

)\/?(h\/(\w|-){3,25})', flags=re.A)