much more permissive karma regexes
This commit is contained in:
parent
9014e076bf
commit
8cc411956e
|
@ -33,7 +33,7 @@ class Karma(Module):
|
||||||
|
|
||||||
Module.__init__(self, config, server, modlist)
|
Module.__init__(self, config, server, modlist)
|
||||||
|
|
||||||
pattern = "(?:([a-zA-Z0-9_'.,]+)|\(([a-zA-Z0-9_'., ]+)\))"
|
pattern = "(?:(\S+)|\((.+)\))"
|
||||||
karmapattern = pattern + '(\+\+|--)'
|
karmapattern = pattern + '(\+\+|--)'
|
||||||
querypattern = '^rank\s+(.*)'
|
querypattern = '^rank\s+(.*)'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue