Closed reaperdtme closed 5 years ago
Skin tone modifiers seem to break this. 👍🏿will not be matched by the regex <_<
Cannot reproduce:
const emojiRegex = require('emoji-regex'); const string = '\u{1F44D}\u{1F3FF}'; // '👍🏿' console.log( string.match(emojiRegex()) ); // → [ '👍🏿' ]
Skin tone modifiers seem to break this. 👍🏿will not be matched by the regex <_<