Skip to content

fix: Allow unicode emojis in tags#6155

Merged
nathanlesage merged 1 commit into
developfrom
kyaso/fix/tag_emoji
Feb 7, 2026
Merged

fix: Allow unicode emojis in tags#6155
nathanlesage merged 1 commit into
developfrom
kyaso/fix/tag_emoji

Conversation

@kyaso

@kyaso kyaso commented Jan 29, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR fixes a recent issue that prevented having emojis in tags. If there was an emoji, the tag would not be parsed correctly.

Changes

Fixed the tag regex to allow unicode emojis. Also refactored the regex to use unicode property escapes.

Additional information

Tested on: WSL Ubuntu

Also closes: #6157

@nathanlesage

Copy link
Copy Markdown
Member

Does this by any Chance also fix #6157?

@kyaso

kyaso commented Feb 2, 2026

Copy link
Copy Markdown
Collaborator Author

Does this by any Chance also fix #6157?

I'm pretty sure it should, because p{L} is intended to match any letter from any language. But I will double check the offending example from #6157 later today!

@kyaso

kyaso commented Feb 2, 2026

Copy link
Copy Markdown
Collaborator Author

But I will double check the offending example from #6157 later today!

I just checked, and it indeed works again correctly with this fix.

@nathanlesage

Copy link
Copy Markdown
Member

Hah, that's what I suspected. Thank you!

@nathanlesage nathanlesage merged commit 203e090 into develop Feb 7, 2026
2 checks passed
@nathanlesage nathanlesage deleted the kyaso/fix/tag_emoji branch February 7, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problems with accents in tags

2 participants