enhance: update REG_KEYWORD_FORMAT2

This commit is contained in:
leo 2024-10-16 15:43:20 +08:00
parent 7779b05680
commit 7d800dc0bf
No known key found for this signature in database

View file

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