dfs
This commit is contained in:
parent
d1ec497d09
commit
4f5541d24b
1 changed files with 1 additions and 1 deletions
|
@ -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(r'(^|\h|<p>)\/?(h\/(\w|-){3,25})', flags=re.A)
|
||||
sub_regex = re.compile('(^|\s|<p>)\/?(s\/(\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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue