eklem / onetimepadjs

Library of helper-functions for encrypting and decrypting messages with OTPs - One-time pads.
MIT License
2 stars 1 forks source link

Codebook not correct #15

Closed eklem closed 2 years ago

eklem commented 2 years ago

Emojis are a bit more complicated to recognzie with regex.

Have to wait for RGI_Emoji unicode property escapes, \p{RGI_Emoji}, lands in JavaScript.

Or use something like emoji_regex.

eklem commented 2 years ago

Or try this regex? https://unicode.org/reports/tr51/#EBNF_and_Regex

eklem commented 2 years ago

Try rgi-emoji-regex-pattern as pattern for recognizing all unicode emojis.

eklem commented 2 years ago

Still missing 200 or so emojis, but good enough for now.