Skip to content

Commit

Permalink
pasting from regex101 is hard
Browse files Browse the repository at this point in the history
  • Loading branch information
martimavocado committed Dec 4, 2024
1 parent 723d632 commit 4a43ba6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ object LimboPlaytime {
*/
private val minutesPattern by patternGroup.pattern(
"minutes",
"§5§o§a(?<minutes>[\\d.,]+) minutes.+\$"
"§5§o§a(?<minutes>[\\d.,]+) minutes.*$"
)

/**
* REGEX-TEST: §5§o§b1,000.4 hours
*/
private val hoursPattern by patternGroup.pattern(
"hours",
"§5§o§b(?<hours>[\\d.,]+) hours.+\$"
"§5§o§b(?<hours>[\\d.,]+) hours.*$"
)

var tooltipPlaytime = mutableListOf<String>()
Expand Down

0 comments on commit 4a43ba6

Please sign in to comment.