allow whitespace between karma target and ++/--
This commit is contained in:
parent
f306213cb8
commit
a75802129f
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ from src import EventManager, ModuleManager, utils
|
||||||
WORD_STOP = [",", ":"]
|
WORD_STOP = [",", ":"]
|
||||||
KARMA_DELAY_SECONDS = 3
|
KARMA_DELAY_SECONDS = 3
|
||||||
|
|
||||||
REGEX_KARMA = re.compile(r'(?:\(([^)]+)\)|(\S+))(\+\+|--)(\s+|$)')
|
REGEX_KARMA = re.compile(r'(?:\(([^)]+)\)|(\S+))\s*(\+\+|--)(\s+|$)')
|
||||||
|
|
||||||
@utils.export("channelset", utils.BoolSetting("karma-pattern",
|
@utils.export("channelset", utils.BoolSetting("karma-pattern",
|
||||||
"Enable/disable parsing ++/-- karma format"))
|
"Enable/disable parsing ++/-- karma format"))
|
||||||
|
|
Loading…
Reference in a new issue