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,9 +5,7 @@ Upvotes =
(?:^>.*\n)+\s* (?:^>.*\n)+\s*
(?: (?:
\u305D\u3046\u3060\u306D \u305D\u3046\u3060\u306D
| |this(?!\ )
(?:
this(?!\ )
|\+1 |\+1
|upvote(?!\ )d? |upvote(?!\ )d?
|under[\ -]?rated |under[\ -]?rated
@ -17,8 +15,7 @@ Upvotes =
|(?:fukken\ |fucking\ )?saved |(?:fukken\ |fucking\ )?saved
|nice(?!\ ) |nice(?!\ )
) )
\b (?=\b|\W|$)
)
///gmi ///gmi
init: -> init: ->