mirror of
https://github.com/welpo/tabi.git
synced 2025-10-10 15:38:51 +02:00
🔧 misc(git-sumi): improve emoji matching
This commit is contained in:
parent
7e428c899b
commit
e373482946
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue