This commit is contained in:
Aevann1 2022-03-26 13:36:25 +02:00
parent b808055097
commit ac7da85db1
7 changed files with 6 additions and 5 deletions

View file

@ -688,7 +688,7 @@ title_regex = re.compile("[^\w ]", flags=re.A)
based_regex = re.compile("based and (.{1,20}?)(-| )pilled", flags=re.I|re.A)
controversial_regex = re.compile('(/comments/.*?)"', flags=re.A)
controversial_regex = re.compile('["> ](https:\/\/old.reddit.com/r/[a-zA-Z0-9_]{3,20}\/comments\/.*?)["< ]', flags=re.A)
fishylinks_regex = re.compile("https?://\S+", flags=re.A)