forked from MarseyWorld/MarseyWorld
remove unnecessary
parent
0cb0015127
commit
8ec133087e
|
@ -182,7 +182,7 @@ search_regex_3 = re.compile(r'\s+', flags=re.A)
|
|||
|
||||
#sanitizing
|
||||
reddit_mention_regex = re.compile('(?<![\w/])\/?(([ruRU])\/[\w-]{2,25})' + NOT_IN_CODE_OR_LINKS, flags=re.A)
|
||||
reddit_s_url_user_regex = re.compile("https:\/\/(www.)?reddit.com\/(user\/\w{2,25})\/s\/\w{10}", flags=re.A)
|
||||
reddit_s_url_user_regex = re.compile("https:\/\/reddit.com\/(user\/\w{2,25})\/s\/\w{10}", flags=re.A)
|
||||
reddit_domain_regex = re.compile("(^|\s|\()https?:\/\/(reddit\.com|(?:(?:[A-z]{2})(?:-[A-z]{2})" "?|www|new)\.reddit\.com|libredd\.it|reddit\.lol)\/(user\/|(r\/\w{2,25}\/)?comments\/|r\/\w{2,25}\/?$)", flags=re.A)
|
||||
reddit_comment_link_regex = re.compile("https:\/\/old.reddit.com\/r\/\w{2,25}\/comments(\/\w+){3}\/?", flags=re.A)
|
||||
|
||||
|
|
Loading…
Reference in New Issue