much more permissive karma regexes

This commit is contained in:
Brian S. Stephan 2010-11-17 10:21:30 -06:00
parent 9014e076bf
commit 8cc411956e
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class Karma(Module):
Module.__init__(self, config, server, modlist)
pattern = "(?:([a-zA-Z0-9_'.,]+)|\(([a-zA-Z0-9_'., ]+)\))"
pattern = "(?:(\S+)|\((.+)\))"
karmapattern = pattern + '(\+\+|--)'
querypattern = '^rank\s+(.*)'