From a224dcb2a525306d195b8cbf3885392db5316ce2 Mon Sep 17 00:00:00 2001 From: Wyvest Date: Wed, 22 Mar 2023 11:04:04 -0400 Subject: fix pm tab regex Co-Authored-By: XThe <101992755+SirXThe@users.noreply.github.com> --- src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt') diff --git a/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt b/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt index 76659ed..8880c83 100644 --- a/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt +++ b/src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt @@ -165,7 +165,7 @@ object ChatTabs { } if (detected) { json.add("regex", JsonArray().apply { - add(JsonPrimitive("^(?§dTo|§dFrom) (?.+): §r(?§7.*)(?:§r)?\$")) + add(JsonPrimitive("^(?§dTo|§dFrom) (?.+): §r(?.*)(?:§r)?\$")) }) json.remove("unformatted") json.addProperty("unformatted", false) @@ -311,7 +311,7 @@ object ChatTabs { contains = null, endsWith = null, equals = null, - uncompiledRegex = listOf("^(?§dTo|§dFrom) (?.+): §r(?§7.*)(?:§r)?\$"), + uncompiledRegex = listOf("^(?§dTo|§dFrom) (?.+): §r(?.*)(?:§r)?\$"), ignoreStartsWith = null, ignoreContains = null, ignoreEndsWith = null, -- cgit