Skip to content

Commit

Permalink
Fixed regexes (hannibal002#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
Obsidianninja11 authored Mar 1, 2024
1 parent 79f7741 commit 88f1dc8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ class AuctionHouseCopyUnderbidPrice {
private val patternGroup = RepoPattern.group("auctions.underbid")
private val auctionPricePattern by patternGroup.pattern(
"price",
"^§7(?:Buy it now|Starting bid|Top bid): §6(?<coins>[0-9,]+) coins\$"
"§7(?:Buy it now|Starting bid|Top bid): §6(?<coins>[0-9,]+) coins"
)
private val allowedInventoriesPattern by patternGroup.pattern(
"allowedinventories",
"^(?:Auctions Browser|Manage Auctions|Auctions: \".*\")$"
"(?:Auctions Browser|Manage Auctions|Auctions: \".*\"?)"
)

@SubscribeEvent
Expand Down

0 comments on commit 88f1dc8

Please sign in to comment.