iceshrimp/src/misc/emoji-regex.ts
MeiMei cfcc0fcf63 Supports Emoji 13.1 (#7539)
* Supports Emoji 13.1

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

4 lines
138 B
TypeScript

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