Skip to content

Commit 4f72bd1

Browse files
committed
Add support for lists starting with - and *
1 parent 2058440 commit 4f72bd1

File tree

1 file changed

+1
-1
lines changed
  • plugins/src/main/java/com/google/firebase/gradle/plugins

1 file changed

+1
-1
lines changed

plugins/src/main/java/com/google/firebase/gradle/plugins/Changelog.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ data class ReleaseContent(val subtext: String, val changes: List<Change>) {
264264
* ]
265265
* ```
266266
*/
267-
val CHANGE_REGEX = Regex("^\\* ([\\s\\S]+?)(?=^\\*|(?![\\s\\S]))", RegexOption.MULTILINE)
267+
val CHANGE_REGEX = "^[*-] ([\\s\\S]+?)(?=^[*-]|(?![\\s\\S]))".toRegex(RegexOption.MULTILINE)
268268

269269
/**
270270
* Regex for finding the subtext in a release.

0 commit comments

Comments
 (0)