egirlskey/src/misc/emoji-regex.ts
MeiMei 798aedfc0f
Supports Emoji 13.1 (#7539)
* Supports Emoji 13.1

* Fix regex
2021-05-30 20:52:39 +09:00

3 lines
138 B
TypeScript

const twemojiRegex = require('twemoji-parser/dist/lib/regex').default;
export const emojiRegex = new RegExp(`(${twemojiRegex.source})`);