There's nothing regular about these expressions.
This commit is contained in:
parent
5cb70f7a7e
commit
169d1705ac
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
import re, time
|
import re, time
|
||||||
import EventManager, Utils
|
import EventManager, Utils
|
||||||
|
|
||||||
REGEX_KARMA = re.compile("(.*)(\+{2,}|\-{2,})$")
|
REGEX_KARMA = re.compile("^(.*[^-+])[-+]*(\+{2,}|\-{2,})$")
|
||||||
KARMA_DELAY_SECONDS = 3
|
KARMA_DELAY_SECONDS = 3
|
||||||
|
|
||||||
class Module(object):
|
class Module(object):
|
||||||
|
|
Loading…
Reference in a new issue