aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/gui/customscoreboard/ScoreboardPattern.kt7
1 files changed, 6 insertions, 1 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 11fdfba86..62b282b37 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
@@ -64,9 +64,14 @@ object ScoreboardPattern {
"yearvotes",
"(?<yearvotes>^§6Year \\d+ Votes\$)",
)
+
+ /**
+ * REGEX-TEST: §f||||||||||||||| §aFoxy
+ * REGEX-TEST: §d|§f|||||||||||||| §dDiaz
+ */
val votesPattern by mainSb.pattern(
"votes",
- "(?<votes>§[caebd]\\|+(§f)?\\|+ §(.+)$)",
+ "§.\\|+(?:§f)?\\|+ §.+",
)
val waitingForVotePattern by mainSb.pattern(
"waitingforvote",