Skip to content

Commit

Permalink
allow accidental multiple whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMWolfs committed Dec 8, 2024
1 parent ea6aa34 commit ad500c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ object SkyHanniChangelogBuilder {
private val gson by lazy { GsonBuilder().setPrettyPrinting().create() }

private val categoryPattern = "## Changelog (?<category>.+)".toPattern()
private val changePattern = "\\+ (?<text>.+) - (?<author>.+)".toPattern()
private val changePattern = "\\+ (?<text>.+)\\s+-\\s+(?<author>.+)".toPattern()
private val changePatternNoAuthor = "\\+ (?<text>.+)".toPattern()
private val extraInfoPattern = " {4}\\* (?<text>.+)".toPattern()
private val prTitlePattern = "(?<prefix>.+): (?<title>.+)".toPattern()
Expand Down

0 comments on commit ad500c3

Please sign in to comment.