more punctuation in the regex

This commit is contained in:
Brian S. Stephan 2010-10-28 20:08:30 -05:00
parent 5dda9ac1e5
commit 352b9e1830
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 = "(?:([a-zA-Z0-9_'.,]+)|\(([a-zA-Z0-9_'., ]+)\))"
karmapattern = '^' + pattern + '(\+\+|--)'
querypattern = '^!rank\s+(.*)'