aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-04-13 22:05:36 +0200
committerGitHub <noreply@github.com>2024-04-13 22:05:36 +0200
commit6c02dfed05d21d80a90624c432f372cba7f35767 (patch)
treed2d657ae17d303a9ab3864e51906928d74745da5 /src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
parent714a722e748cb082af808c3168e7e7ab0c594adb (diff)
downloadskyhanni-6c02dfed05d21d80a90624c432f372cba7f35767.tar.gz
skyhanni-6c02dfed05d21d80a90624c432f372cba7f35767.tar.bz2
skyhanni-6c02dfed05d21d80a90624c432f372cba7f35767.zip
New Feature: Excavation Profit Tracker (#1432)
Co-authored-by: Empa <42304516+ItsEmpa@users.noreply.github.com> Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt b/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
index 97a4ab51c..e6a244f09 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/UtilsPatterns.kt
@@ -53,7 +53,7 @@ object UtilsPatterns {
)
val readAmountAfterPattern by patternGroup.pattern(
"item.amount.behind",
- "(?<name>(?:['\\w-]+ ?)+)(?:§8x(?<amount>[\\d,]+))?"
+ "(?<name>(?:§.)*(?:[^§] ?)+)(?:§8x(?<amount>[\\d,]+))?"
)
val timeAmountPattern by patternGroup.pattern(