diff --git a/files/helpers/regex.py b/files/helpers/regex.py index 30a5c7dca..1b8647c9c 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -43,8 +43,8 @@ title_regex = re.compile("[^\w ]", flags=re.A) controversial_regex = re.compile('["> ](https:\/\/old\.reddit\.com/r/\w{3,20}\/comments\/[\w\-.#&/=\?@%+]{5,250})["< ]', flags=re.A) spoiler_regex = re.compile('\|\|(.+?)\|\|' + NOT_IN_CODE_OR_LINKS, flags=re.A) -reddit_regex = re.compile('(?|")~{1,2}([^~]+)~{1,2}' + NOT_IN_CODE_OR_LINKS, flags=re.A)