From a80d2db46b76b556232d7ddbb084487d9f693ad5 Mon Sep 17 00:00:00 2001 From: welpo Date: Thu, 8 Feb 2024 01:28:29 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20misc(CHANGELOG):=20improve=20emo?= =?UTF-8?q?ji=20pattern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cliff.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cliff.toml b/cliff.toml index c1ca7bc..3f586e5 100644 --- a/cliff.toml +++ b/cliff.toml @@ -88,7 +88,7 @@ commit_preprocessors = [ # Replace multiple spaces with a single space. { pattern = ' +', replace = " " }, # Remove gitmoji, both actual UTF emoji and :emoji: - { pattern = ' *(:\w+:|[\p{Emoji_Presentation}\p{Extended_Pictographic}\u{200D}]) *', replace = "" }, + { pattern = ' *(:\w+:|[\p{Emoji_Presentation}\p{Extended_Pictographic}](?:\u{FE0F})?\u{200D}?) *', replace = "" }, ] # regex for parsing and grouping commits commit_parsers = [