mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-23 18:30:34 +08:00
enhance: update keyword regex for commit subject
This commit is contained in:
@@ -305,10 +305,10 @@ namespace SourceGit.Views
|
||||
}
|
||||
}
|
||||
|
||||
[GeneratedRegex(@"^(\[[\w\s]+\])")]
|
||||
[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;
|
||||
|
||||
Reference in New Issue
Block a user