enhance: update REG_KEYWORD_FORMAT2

This commit is contained in:
leo 2024-10-16 15:49:06 +08:00
parent 7d800dc0bf
commit aae5f10f66
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]+(\<[\w\s_\-\*,]+\>)?\s?:)\s")]
[GeneratedRegex(@"^([\w]+([\<\(][\w\s_\-\*,]+[\>\)])?\s?:)\s")]
private static partial Regex REG_KEYWORD_FORMAT2();
private List<Models.Hyperlink> _matches = null;