enhance: update keywords prefix regex

This commit is contained in:
leo 2024-10-16 14:57:45 +08:00
parent 8f9e2cefe9
commit 0621ed950e
No known key found for this signature in database

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+\s?:)")] [GeneratedRegex(@"^(\w+\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;