add ' to karma matcher regex
This commit is contained in:
parent
9a1086e855
commit
5f6ced3066
|
@ -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+(.*)'
|
||||
|
|
Loading…
Reference in New Issue