Skip to content

Commit

Permalink
🔧 misc(CHANGELOG): improve emoji pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Feb 8, 2024
1 parent 85078f0 commit a80d2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit a80d2db

Please sign in to comment.