From 46408de7d589c2dc5ef6dcabe54eb4bfe27d39bf Mon Sep 17 00:00:00 2001 From: ENORMOUZ <68216143+ENORMOUZ@users.noreply.github.com> Date: Sun, 13 Aug 2023 02:32:03 +0800 Subject: [PATCH] fix: Fixed TAB_EFFECT_PATTERN regex (#686) fix: Fixed TAB_EFFECT_PATTERN regex so that Saviour's Sacrifice shows up in status effects list --- .../com/wynntils/core/framework/instances/data/TabListData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/wynntils/core/framework/instances/data/TabListData.java b/src/main/java/com/wynntils/core/framework/instances/data/TabListData.java index 19f0c2309..241670f1f 100644 --- a/src/main/java/com/wynntils/core/framework/instances/data/TabListData.java +++ b/src/main/java/com/wynntils/core/framework/instances/data/TabListData.java @@ -26,7 +26,7 @@ CG3 is the duration string (eg. "1:23") https://regexr.com/729qc */ - private static final Pattern TAB_EFFECT_PATTERN = Pattern.compile("(.+?§7 ?(?:\\d+(?:\\.\\d+)?%)?) ?([%\\-+\\/\\da-zA-Z\\s]+?) §[84a]\\((.+?)\\).*"); + private static final Pattern TAB_EFFECT_PATTERN = Pattern.compile("(.+?§7 ?(?:\\d+(?:\\.\\d+)?%)?) ?(['%\\-+\\/\\da-zA-Z\\s]+?) §[84a]\\((.+?)\\).*"); /** * Updates the ConsumableTimerOverlay with the effects from the tab list