From 51f6d14253caf50340d16093745c99cc73f94d89 Mon Sep 17 00:00:00 2001 From: Ezerous Date: Mon, 12 Nov 2018 01:11:12 +0200 Subject: [PATCH] Mentions regex fix --- .../main/java/gr/thmmy/mthmmy/activities/topic/TopicParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicParser.java b/app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicParser.java index 4ebbba5a..c2cdee07 100644 --- a/app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicParser.java +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicParser.java @@ -37,7 +37,7 @@ import timber.log.Timber; public class TopicParser { private static Pattern mentionsPattern = Pattern. compile("
\\n\\s+?(Quote from|Παράθεση από): " - + BaseActivity.getSessionManager().getUsername()); + + BaseActivity.getSessionManager().getUsername() +"\\s(στις|on)"); //User colors private static final int USER_COLOR_BLACK = Color.parseColor("#000000");