From aa3a6fb793d42c877fcfcf9bb1fefed90f0333f6 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 17 Apr 2024 22:28:51 +0200 Subject: [PATCH] add regex test --- .../hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt index 2357cdaee987..f36e83209a27 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt @@ -26,6 +26,9 @@ class PatcherSendCoordinates { private val patcherBeacon = mutableListOf() private val logger = LorenzLogger("misc/patchercoords") + /** + * REGEX-TEST: hannibal2: x: 2, y: 3, z: 4 + */ private val coordinatePattern by RepoPattern.pattern( "misc.patchercoords.coords", "(?.*): [xX]: (?[0-9.-]+),? [yY]: (?[0-9.-]+),? [zZ]: (?.*)"