Fix thy regexes!
This commit is contained in:
parent
7da407310c
commit
4fa65f1e5f
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class PlusOne:
|
||||||
)
|
)
|
||||||
AUTHOR = "Created by @Garmy using github.com/Garmelon/yaboli\n"
|
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+)"
|
MENTION_RE = r"(to\s+@?|@)(\S+)"
|
||||||
|
|
||||||
def __init__(self, dbfile):
|
def __init__(self, dbfile):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue