diff --git a/functions.py b/functions.py index 777b358..3810a5d 100644 --- a/functions.py +++ b/functions.py @@ -101,7 +101,7 @@ def make_post(args): if bot['fake_mentions'] == 'never': # remove all mentions from the training data before the markov model sees it - posts = re.sub(r"@(\w+)@([\w.]+)\s?", "", posts) + posts = re.sub(r"(?