Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation added for 🗺️ #849

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

UsmanDev09
Copy link
Contributor

@UsmanDev09 UsmanDev09 commented May 2, 2024

fixes #780

I have added validation for this emoji since our pattern [\p{L}\p{N}\p{Pd}\/\p{Emoji}]+ was failing to recognize it as emoji. However, there might be a lot of similar cases in future since new emojis are regularly added to unicode.

Using this Library is a better solution since it generates the regex pattern at build time based on Unicode. Moreover, it can be updated whenever new emojis are added.

Copy link

vercel bot commented May 2, 2024

@UsmanDev09 is attempting to deploy a commit to the Dub Team on Vercel.

A member of the Team first needs to authorize it.

@UsmanDev09
Copy link
Contributor Author

@steven-tey is this okay or should i use the library to validate emoji regex?

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.

Some emoji's don't work
1 participant