Fix 'this' false positives, add more alternatives.

This commit is contained in:
ccd0 2016-03-28 03:42:29 -07:00 committed by name
parent 4ba66d7833
commit 34ca89613d

View File

@ -1,7 +1,7 @@
Upvotes =
count: {}
text: '\u305D\u3046\u3060\u306D'
regexp: /(?:^>.*\n)+\s*(?:\u305D\u3046\u3060\u306D|this)/gmi
regexp: /(?:^>.*\n)+\s*(?:\u305D\u3046\u3060\u306D|(?:this(?!\ )|\+1|upvote(?!\ )d?|under[\ -]?rated|\/thread)\b)/gmi
init: ->
return unless g.VIEW in ['thread', 'index'] and Conf['Upvotes']