Fix thy regexes!

This commit is contained in:
Joscha 2018-08-10 11:02:06 +00:00
parent 7da407310c
commit 4fa65f1e5f

View file

@ -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):