diff options
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt b/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt index 925eaadd8..e9a8bb687 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/event/hoppity/HoppityCollectionStats.kt @@ -39,9 +39,15 @@ object HoppityCollectionStats { private val config get() = ChocolateFactoryAPI.config private val patternGroup = ChocolateFactoryAPI.patternGroup.group("collection") + + /** + * REGEX-TEST: (1/17) Hoppity's Collection + * REGEX-TEST: (12/17) Hoppity's Collection + * REGEX-TEST: Hoppity's Collection + */ private val pagePattern by patternGroup.pattern( "page.current", - "\\((?<page>\\d+)/(?<maxPage>\\d+)\\) Hoppity's Collection", + "(?:\\((?<page>\\d+)\\/(?<maxPage>\\d+)\\) )?Hoppity's Collection", ) private val duplicatesFoundPattern by patternGroup.pattern( "duplicates.found", |