From 4fa65f1e5f0ae2d3294413cbae4db9d1def7edf5 Mon Sep 17 00:00:00 2001 From: Joscha Date: Fri, 10 Aug 2018 11:02:06 +0000 Subject: [PATCH] Fix thy regexes! --- plusone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plusone.py b/plusone.py index b2687be..d8d83c0 100644 --- a/plusone.py +++ b/plusone.py @@ -58,7 +58,7 @@ class PlusOne: ) AUTHOR = "Created by @Garmy using github.com/Garmelon/yaboli\n" - PLUSONE_RE = r"\s*(\+1|:\+1:|:bronze(!\?|\?!)?:)\s*(.*)" + PLUSONE_RE = r"\s*(\+1|:\+1:|:bronze(!\?|\?!)?:)\s+(.*)" MENTION_RE = r"(to\s+@?|@)(\S+)" def __init__(self, dbfile):