From 7316898869c14a49989733e2a52a7f1d73ce6ec1 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 20 Jun 2024 23:06:36 +0200 Subject: added regex tests --- .../at/hannibal2/skyhanni/features/fishing/SeaCreatureManager.kt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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!" -- cgit