Upvote regexp bugfix.

This commit is contained in:
ccd0 2016-03-29 02:41:40 -07:00 committed by name
parent edd6f5477a
commit 534b6f1da2

View File

@ -5,20 +5,17 @@ Upvotes =
(?:^>.*\n)+\s* (?:^>.*\n)+\s*
(?: (?:
\u305D\u3046\u3060\u306D \u305D\u3046\u3060\u306D
| |this(?!\ )
(?: |\+1
this(?!\ ) |upvote(?!\ )d?
|\+1 |under[\ -]?rated
|upvote(?!\ )d? |\/thread
|under[\ -]?rated |10\/10
|\/thread |(?:i\ |top\ )*(?:lol|kek)(?:'?d|\.?$)
|10\/10 |(?:fukken\ |fucking\ )?saved
|(?:i\ |top\ )*(?:lol|kek)(?:'?d|\.?$) |nice(?!\ )
|(?:fukken\ |fucking\ )?saved
|nice(?!\ )
)
\b
) )
(?=\b|\W|$)
///gmi ///gmi
init: -> init: ->