More upvote regexp improvements.

This commit is contained in:
ccd0 2016-03-29 18:38:42 -07:00 committed by name
parent 534b6f1da2
commit 8bc1b41af4

View File

@ -2,7 +2,24 @@ Upvotes =
count: {} count: {}
text: '\u305D\u3046\u3060\u306D' text: '\u305D\u3046\u3060\u306D'
regexp: /// regexp: ///
(?:^>.*\n)+\s* (?:^>.*\n)+
(?:
i
|top
|holy
|shit
|ay*
|oh?
|omg
|god
|jesus
|christ
|fuck
|fukken
|fucking?
|\s
|[.,-]
)*
(?: (?:
\u305D\u3046\u3060\u306D \u305D\u3046\u3060\u306D
|this(?!\ ) |this(?!\ )
@ -11,9 +28,10 @@ Upvotes =
|under[\ -]?rated |under[\ -]?rated
|\/thread |\/thread
|10\/10 |10\/10
|(?:i\ |top\ )*(?:lol|kek)(?:'?d|\.?$) |(?:lol|kek|lel|lmao|(?:ha)+)(?:'?d|[.!]?$)
|(?:fukken\ |fucking\ )?saved |saved
|nice(?!\ ) |nice(?!\ )
|my\ sides
) )
(?=\b|\W|$) (?=\b|\W|$)
///gmi ///gmi