Lines Matching refs:emoji
1 # emoji-regex [](…
3 …regex_ offers a regular expression to match all emoji symbols (including textual representations o…
5 …ecause of this, the regular expression can easily be updated whenever new emoji are added to the U…
12 npm install emoji-regex
18 const emojiRegex = require('emoji-regex');
25 \u{231A}: ⌚ default emoji presentation character (Emoji_Presentation)
26 \u{2194}\u{FE0F}: ↔️ default text presentation character rendered as emoji
27 \u{1F469}: emoji modifier base (Emoji_Modifier_Base)
28 \u{1F469}\u{1F3FF}: emoji modifier base followed by a modifier
34 const emoji = match[0];
35 console.log(`Matched sequence ${ emoji } — code points: ${ [...emoji].length }`);
52 …match emoji in their textual representation as well (i.e. emoji that are not `Emoji_Presentation` …
55 const emojiRegex = require('emoji-regex/text.js');
61 const emojiRegex = require('emoji-regex/es2015/index.js');
62 const emojiRegexText = require('emoji-regex/es2015/text.js');