diff --git a/files/helpers/regex.py b/files/helpers/regex.py index 57e3636a2..66ad2293c 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -231,10 +231,10 @@ asset_image_link_regex = re.compile(f"https:\/\/(i\.)?{SITE}\/assets\/images\/[\ #sanitizing reddit_mention_regex = re.compile('(?|")https:\/\/old.reddit.com\/(r|u)\/', flags=re.A) +reddit_to_vreddit_regex = re.compile('(^|>|")https:\/\/old.reddit.com\/(r|u|user)\/', flags=re.A)