🔧 misc(git-sumi): improve emoji matching
This commit is contained in:
parent
7e428c899b
commit
e373482946
@ -54,4 +54,4 @@ types_allowed = ["feat", "fix", "docs", "refactor", "test", "chore", "misc", "st
|
||||
|
||||
# Rule: Header must match regex pattern.
|
||||
# Example: '^JIRA-\d+:'.
|
||||
header_pattern = '^[\p{Emoji_Presentation}\p{Extended_Pictographic}\u{200D}] \w' # The first character must be an emoji.
|
||||
header_pattern = '^([\p{Emoji_Presentation}\p{Extended_Pictographic}](?:\u{FE0F})?\u{200D}?) \w' # The first character must be an emoji.
|
||||
|
Loading…
x
Reference in New Issue
Block a user