jormungandr-bite/packages/backend/src/misc/emoji-regex.ts
syuilo 14148f6c4a refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00

3 lines
138 B
TypeScript

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