mathiasbynens / emoji-regex

A regular expression to match all Emoji-only symbols as per the Unicode Standard.
https://mths.be/emoji-regex
MIT License
1.73k stars 174 forks source link

The regex matches number string like "1" #30

Closed Winely closed 6 years ago

Winely commented 6 years ago
import emojiRegex from 'emoji-regex';
console.log(emojiRegex.test('1'));     // output: true
mathiasbynens commented 6 years ago

Duplicate of #14.