aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/raeids/stratus/hook/ChatRegexes.kt
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2021-12-22 11:07:28 +0700
committerWyvest <45589059+Wyvest@users.noreply.github.com>2021-12-22 11:07:28 +0700
commitc84baaa1586da7aafdd3d3ddf2dcd3543b2444a2 (patch)
treead8d92e48124e70325a0948fac473e741c9667b3 /src/main/kotlin/com/raeids/stratus/hook/ChatRegexes.kt
parent4540fdbbf083fa5300667cf443799de04df5f24e (diff)
downloadChatting-c84baaa1586da7aafdd3d3ddf2dcd3543b2444a2.tar.gz
Chatting-c84baaa1586da7aafdd3d3ddf2dcd3543b2444a2.tar.bz2
Chatting-c84baaa1586da7aafdd3d3ddf2dcd3543b2444a2.zip
finish up chat tabs + chat message copying
Diffstat (limited to 'src/main/kotlin/com/raeids/stratus/hook/ChatRegexes.kt')
-rw-r--r--src/main/kotlin/com/raeids/stratus/hook/ChatRegexes.kt11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/kotlin/com/raeids/stratus/hook/ChatRegexes.kt b/src/main/kotlin/com/raeids/stratus/hook/ChatRegexes.kt
new file mode 100644
index 0000000..fd743ea
--- /dev/null
+++ b/src/main/kotlin/com/raeids/stratus/hook/ChatRegexes.kt
@@ -0,0 +1,11 @@
+package com.raeids.stratus.hook
+
+data class ChatRegexes(val regexList: List<String>?) {
+ val compiledRegexList: MutableList<Regex> = arrayListOf()
+
+ init {
+ regexList?.forEach {
+ compiledRegexList.add(Regex(it))
+ }
+ }
+}