aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-20 23:06:36 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-06-20 23:06:36 +0200
commit7316898869c14a49989733e2a52a7f1d73ce6ec1 (patch)
tree5e996d2486b82b5b4c720c0836fe3b77bb2fafdd /src/main/java/at/hannibal2/skyhanni
parent681cec169fa8e92f2945d155bea996834246a8a6 (diff)
downloadskyhanni-7316898869c14a49989733e2a52a7f1d73ce6ec1.tar.gz
skyhanni-7316898869c14a49989733e2a52a7f1d73ce6ec1.tar.bz2
skyhanni-7316898869c14a49989733e2a52a7f1d73ce6ec1.zip
added regex tests
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt b/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt
index 79c713b87..504b3ae21 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt
@@ -22,10 +22,18 @@ object SeaCreatureManager {
private val patternGroup = RepoPattern.group("fishing.seacreature")
+ /**
+ * REGEX-TEST: §eIt's a §r§aDouble Hook§r§e! Woot woot!
+ * REGEX-TEST: §eIt's a §r§aDouble Hook§r§e!
+ */
private val doubleHookPattern by patternGroup.pattern(
"doublehook",
"§eIt's a §r§aDouble Hook§r§e!(?: Woot woot!)?"
)
+
+ /**
+ * REGEX-TEST: §e> Your bottle of thunder has fully charged!
+ */
private val thunderBottleChargedPattern by patternGroup.pattern(
"thundercharged",
"§e> Your bottle of thunder has fully charged!"