You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Side-note: This project just saved me hours of porting TwitterText into Elixir; thank you!
I've looked at the regex and it looks like handling emoji type (:emoji:) is pretty feasible. How open are you to a PR for that? It could be up to the caller to do whatever with the resulting text - so no need to do actual emoji lookups (and allow for users to define 'custom' emoji).
The text was updated successfully, but these errors were encountered:
Hi @jalcine, I am pleased to hear you were able to save some time!
I am always open to a PR, the one thing I will note is this project was a learning tool for me originally and maybe doesn't carry out it's function in the most efficient way 🙂. It uses pattern matching whilst recursing over a string instead of regex but what you look to achieve is totally possible I believe.
Please feel free to put in a PR and I will be more than happy to look over it.
Side-note: This project just saved me hours of porting TwitterText into Elixir; thank you!
I've looked at the regex and it looks like handling emoji type (
:emoji:
) is pretty feasible. How open are you to a PR for that? It could be up to the caller to do whatever with the resulting text - so no need to do actual emoji lookups (and allow for users to define 'custom' emoji).The text was updated successfully, but these errors were encountered: