fix(histories): handle commits with breaking changes

This commit is contained in:
Antony David 2024-10-21 09:27:49 +02:00 committed by GitHub
parent 0bb502c7cf
commit 84826c3646
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -308,7 +308,7 @@ namespace SourceGit.Views
[GeneratedRegex(@"^\[[\w\s]+\]")] [GeneratedRegex(@"^\[[\w\s]+\]")]
private static partial Regex REG_KEYWORD_FORMAT1(); private static partial Regex REG_KEYWORD_FORMAT1();
[GeneratedRegex(@"^\w+([\<\(][\w\s_\-\*,]+[\>\)])?\s?:\s")] [GeneratedRegex(@"^\w+([\<\(][\w\s_\-\*,]+[\>\)])?\!?\s?:\s")]
private static partial Regex REG_KEYWORD_FORMAT2(); private static partial Regex REG_KEYWORD_FORMAT2();
private List<Models.Hyperlink> _matches = null; private List<Models.Hyperlink> _matches = null;