allow space between "++" and nickname
This commit is contained in:
parent
69f4d43590
commit
671e259ada
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,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_WORD_START = re.compile(r"^(\+\+|--)([^(\s,:]+)\s*$")
|
REGEX_WORD_START = 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