1.1 --- a/src/main/kotlin/de/uapcore/lightpit/types/CommitRef.kt Sun Jul 23 18:57:33 2023 +0200 1.2 +++ b/src/main/kotlin/de/uapcore/lightpit/types/CommitRef.kt Tue Jul 25 18:19:04 2023 +0200 1.3 @@ -53,7 +53,7 @@ 1.4 if (currentHash.isEmpty()) continue 1.5 1.6 // scan the lines for commit references 1.7 - Regex("""(?:relates to|fix(?:es)?|close(?:es)?) #(\d+)""") 1.8 + Regex("""(?:issue|relates? to|fix(?:e[sd])?|close(?:[sd])?) \#(\d+)""") 1.9 .findAll(line) 1.10 .map { it.groupValues[1] } 1.11 .map { it.toIntOrNull() }