From e3734829460d4f93643e7d8fc4a33670f5bb9c6e Mon Sep 17 00:00:00 2001 From: welpo Date: Sun, 11 Feb 2024 13:31:07 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20misc(git-sumi):=20improve=20emoj?= =?UTF-8?q?i=20matching?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sumi.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sumi.toml b/sumi.toml index 1d3fbbd..83545cd 100644 --- a/sumi.toml +++ b/sumi.toml @@ -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.