fix: Github release regex for link

This commit is contained in:
Cuong-Tran 2024-11-14 08:06:51 +07:00
parent 7a0d064065
commit b27ee2111c
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2

View file

@ -48,7 +48,7 @@ val gitHubUsernameMentionRegex =
* to: [komikku-app/komikku@23d862d17...48fb4a2e6](https://github.com/komikku-app/komikku/compare/23d862d17...48fb4a2e6)
*/
val gitHubCommitsCompareRegex =
"""(\[[^]+]]\()?https://github.com/(?<owner>[^/]+)/(?<repo>[^/]+)/compare/(?<from>[0-9a-f.rv]+)\.\.\.(?<to>[0-9a-f.rv]+)\)?"""
"""(\[[^]]+]\()?https://github.com/(?<owner>[^/]+)/(?<repo>[^/]+)/compare/(?<from>[0-9a-f.rv]+)\.\.\.(?<to>[0-9a-f.rv]+)\)?"""
.toRegex(RegexOption.IGNORE_CASE)
// KMK <--