diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt index 9e2694ec0..1c6fb4282 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt @@ -364,23 +364,28 @@ object ScoreboardPattern { ) val dojoChallengePattern by miscSb.pattern( "dojochallenge", - "^(§.)*Challenge: (§.)*(?<challenge>[\\w ]+)$", + "(§.)*Challenge: (§.)*(?<challenge>[\\w ]+)", ) val dojoDifficultyPattern by miscSb.pattern( "dojodifficulty", - "^(§.)*Difficulty: (§.)*(?<difficulty>[\\w ]+)$", + "(§.)*Difficulty: (§.)*(?<difficulty>[\\w ]+)", ) val dojoPointsPattern by miscSb.pattern( "dojopoints", - "^(§.)*Points: (§.)*[\\w.]+ ?(§7\\(§.*§7\\))?\$", + "(§.)*Points: (§.)*[\\w.]+.*", ) + + /** + * There should be a space at the end of the test, Intellij keeps removing it + * REGEX-TEST: Time: §a20s + */ val dojoTimePattern by miscSb.pattern( "dojotime", - "^(§.)*Time: (§.)*[\\w.]+( §7\\(§.*§7\\))?$", + "(§.)*Time: (§.)*[\\w.]+.*", ) val objectivePattern by miscSb.pattern( "objective", - "^(§.)*(Objective|Quest).*", + "(§.)*(Objective|Quest).*", ) val queuePattern by miscSb.pattern( "queued", |