diff options
author | Thunderblade73 <85900443+Thunderblade73@users.noreply.github.com> | 2024-07-15 16:42:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-15 16:42:12 +0200 |
commit | dd20c1273715e5b28df263bb896b1d35cfefa0f2 (patch) | |
tree | 036687937e45e7becae99c90094ad06c8c0c211e /src/main/java/at/hannibal2/skyhanni | |
parent | a9d10926993e22cc0bd6b75a05ae64c7abbfc059 (diff) | |
download | skyhanni-dd20c1273715e5b28df263bb896b1d35cfefa0f2.tar.gz skyhanni-dd20c1273715e5b28df263bb896b1d35cfefa0f2.tar.bz2 skyhanni-dd20c1273715e5b28df263bb896b1d35cfefa0f2.zip |
Fix: Pet Pattern for ItemCategory (#2202)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/PetAPI.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/PetAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/PetAPI.kt index 75835f054..dfe57cc5c 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/PetAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/PetAPI.kt @@ -15,10 +15,11 @@ object PetAPI { /** * REGEX-TEST: §e⭐ §7[Lvl 200] §6Golden Dragon§d ✦ + * REGEX-TEST: ⭐ [Lvl 100] Black Cat ✦ */ private val petItemName by patternGroup.pattern( "item.name", - "(?<favorite>§.⭐ )?(?:§.)*\\[Lvl (?<level>\\d+)] (?<name>.*)", + "(?<favorite>(?:§.)*⭐ )?(?:§.)*\\[Lvl (?<level>\\d+)] (?<name>.*)", ) private val neuRepoPetItemName by patternGroup.pattern( "item.name.neu.format", |