【文件属性】:
文件名称:emojiregex:异步生成始终最新的JS Emoji Regex
文件大小:3KB
文件格式:ZIP
更新时间:2021-02-05 03:26:17
javascript emoji unicode web async
表情符号正则表达式
EmojiRejex异步为Emoji生成一个正则表达式。 regex是在运行时根据最新的数据生成的。 EmojiRegex使用绕过CORS限制。 因此,EmojiRegex将始终保持最新状态。 :smiling_face_with_smiling_eyes:
安装
< script src =" emojiregex.min.js " > </ script >
用法
emojiRegex . then ( regex => {
regex . test ( ':face_with_tears_of_joy:' ) ;
// true
regex . test ( ':pile_of_poo:' ) ;
// true
regex . test ( ':Canada:' ) ;
// tr
【文件预览】:
emojiregex-master
----emojiregex.js(1KB)
----LICENSE(1KB)
----README.md(1KB)
----emojiregex.min.js(611B)