remotes/1693045480750635534/spooky-22
Aevann1 2022-03-09 05:01:41 +02:00
parent 490bd93ef9
commit 5472791617
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ video_regex = re.compile('<p><a href="(https:\/\/.*?\.(mp4|webm|mov))" rel="nofo
unlinked_regex = re.compile('(^|\s|<p>)(https:\/\/[^ <>]*)', flags=re.A)
imgur_regex = re.compile('(https://i\.imgur\.com/([^_]*?))\.(jpg|png|jpeg|webp)(?!</code>)', flags=re.A)
reddit_regex = re.compile('(^|\s|<p>)\/?((r|u)\/(\w|-){3,25})', flags=re.A)
sub_regex = re.compile('(^|\h|<p>)\/?(h\/(\w|-){3,25})', flags=re.A)
sub_regex = re.compile(r'(^|\h|<p>)\/?(h\/(\w|-){3,25})', flags=re.A)
youtube_regex = re.compile('" target="_blank">(https://youtube\.com/watch\?v\=(.*?))</a>(?!</code>)', flags=re.A)
strikethrough_regex = re.compile('~{1,2}([^~]+)~{1,2}', flags=re.A)