forked from rDrama/rDrama
add escape in regex (unnecessary)
parent
af20c753dc
commit
cb48c6428d
|
@ -124,7 +124,7 @@ yt_id_regex = re.compile('[\w\-]{5,20}', flags=re.A)
|
|||
|
||||
rumble_regex = re.compile('https://rumble\.com/embed/([a-zA-Z0-9]*)(/\?pub=([a-zA-Z0-9]*))?', flags=re.I|re.A)
|
||||
bare_youtube_regex = re.compile('https:\/\/youtube\.com\/watch\?([\w\-.#&/=?@%+;]{7,})', flags=re.I|re.A)
|
||||
twitch_regex = re.compile('(https:\/\/)?(www\.)?twitch.tv/(.*)',flags=re.I|re.A)
|
||||
twitch_regex = re.compile('(https:\/\/)?(www\.)?twitch.tv\/(.*)', flags=re.I|re.A)
|
||||
|
||||
link_fix_regex = re.compile("(\[.*?\]\()(?!http|\/)(.*?\))" + NOT_IN_CODE_OR_LINKS, flags=re.A)
|
||||
|
||||
|
|
Loading…
Reference in New Issue