don't consume ":"/"," in a karma target
This commit is contained in:
parent
f8662ad6e1
commit
d0aa1d34f1
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ from src import EventManager, ModuleManager, utils
|
||||||
|
|
||||||
KARMA_DELAY_SECONDS = 3
|
KARMA_DELAY_SECONDS = 3
|
||||||
|
|
||||||
REGEX_WORD = re.compile(r"^([^(\s]+)[:,]?\s*(\+\+|--)\s*$")
|
REGEX_WORD = re.compile(r"^([^(\s,:]+)[:,]?\s*(\+\+|--)\s*$")
|
||||||
REGEX_PARENS = re.compile(r"\(([^)]+)\)(\+\+|--)")
|
REGEX_PARENS = re.compile(r"\(([^)]+)\)(\+\+|--)")
|
||||||
|
|
||||||
@utils.export("channelset", utils.BoolSetting("karma-pattern",
|
@utils.export("channelset", utils.BoolSetting("karma-pattern",
|
||||||
|
|
Loading…
Reference in a new issue