more punctuation in the regex
This commit is contained in:
parent
5dda9ac1e5
commit
352b9e1830
@ -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 = "(?:([a-zA-Z0-9_'.,]+)|\(([a-zA-Z0-9_'., ]+)\))"
|
||||||
karmapattern = '^' + pattern + '(\+\+|--)'
|
karmapattern = '^' + pattern + '(\+\+|--)'
|
||||||
querypattern = '^!rank\s+(.*)'
|
querypattern = '^!rank\s+(.*)'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user