diff options
author | Wyvest <wyvestbusiness@gmail.com> | 2023-03-22 11:04:04 -0400 |
---|---|---|
committer | Wyvest <wyvestbusiness@gmail.com> | 2023-03-22 11:04:21 -0400 |
commit | a224dcb2a525306d195b8cbf3885392db5316ce2 (patch) | |
tree | 12ddfcdeee7ff4e18cb162b89dadee8213f53640 /src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt | |
parent | dfb1e462dfda561280ff862619e103bc05273026 (diff) | |
download | Chatting-a224dcb2a525306d195b8cbf3885392db5316ce2.tar.gz Chatting-a224dcb2a525306d195b8cbf3885392db5316ce2.tar.bz2 Chatting-a224dcb2a525306d195b8cbf3885392db5316ce2.zip |
fix pm tab regex
Co-Authored-By: XThe <101992755+SirXThe@users.noreply.github.com>
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt')
-rw-r--r-- | src/main/kotlin/cc/woverflow/chatting/chat/ChatTabs.kt | 4 |
1 files changed, 2 insertions, 2 deletions
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("^(?<type>§dTo|§dFrom) (?<prefix>.+): §r(?<message>§7.*)(?:§r)?\$")) + add(JsonPrimitive("^(?<type>§dTo|§dFrom) (?<prefix>.+): §r(?<message>.*)(?:§r)?\$")) }) json.remove("unformatted") json.addProperty("unformatted", false) @@ -311,7 +311,7 @@ object ChatTabs { contains = null, endsWith = null, equals = null, - uncompiledRegex = listOf("^(?<type>§dTo|§dFrom) (?<prefix>.+): §r(?<message>§7.*)(?:§r)?\$"), + uncompiledRegex = listOf("^(?<type>§dTo|§dFrom) (?<prefix>.+): §r(?<message>.*)(?:§r)?\$"), ignoreStartsWith = null, ignoreContains = null, ignoreEndsWith = null, |