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 = [