From aae5f10f662329590e46e54697f0ee089aaf870f Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 16 Oct 2024 15:49:06 +0800 Subject: [PATCH] enhance: update `REG_KEYWORD_FORMAT2` --- src/Views/Histories.axaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/Histories.axaml.cs b/src/Views/Histories.axaml.cs index 07afe044..466c3b42 100644 --- a/src/Views/Histories.axaml.cs +++ b/src/Views/Histories.axaml.cs @@ -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 _matches = null;