Skip to content

Commit 2058440

Browse files
committed
Support external class both with and without a space after the colon
1 parent d679332 commit 2058440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ abstract class MakeReleaseNotesTask : DefaultTask() {
191191
*/
192192
private val LINK_REGEX =
193193
Regex(
194-
"(?:GitHub )?(?:\\[|\\()#(\\d+)(?:\\]|\\))(?:\\(.+?\\))?(?:\\{: \\.external\\})?",
194+
"(?:GitHub )?(?:\\[|\\()#(\\d+)(?:\\]|\\))(?:\\(.+?\\))?(?:\\{:\\s*\\.external\\})?",
195195
RegexOption.MULTILINE,
196196
)
197197
}

0 commit comments

Comments
 (0)