add ' to karma matcher regex

This commit is contained in:
Brian S. Stephan 2010-10-25 19:21:39 -05:00
parent 9a1086e855
commit 5f6ced3066
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class Karma(Module):
self.karmafile = filename + "_karma.dat"
self.trendfile = filename + "_trends.dat"
pattern = "(?:([a-zA-Z0-9_]+)|\(([a-zA-Z0-9_ ]+)\))"
pattern = "(?:([a-zA-Z0-9_']+)|\(([a-zA-Z0-9_' ]+)\))"
karmapattern = '^' + pattern + '(\+\+|--)'
querypattern = '^!rank\s+(.*)'