Emojito: Find all Emoji in a string. Supports complex emoji such as family
I've released a small new Rust crate which solves a kind of complex unicode problem: It helps finding Emoji in strings. Supports complex emoji such as ๐จโ๐ฉโ๐งโ๐ฆ. Uses the unic-emoji-char crate in the background, and does not rely on regexes.
For example:
let content = "Test ๐โค๏ธ! ๐ป๐ ๐จโ๐ฉโ๐ฆ kk ๐จโ๐ฉโ๐งโ๐ฆ";
let emojis = find_emoji;
assert_eq!;
It, it correctly finds 6 emoji even though some of them are complex combinations of multiple emojis.