misskey-awawa/packages/backend/src/misc/emoji-regex.ts

5 lines
161 B
TypeScript
Raw Normal View History

2022-02-27 05:10:31 +00:00
import twemoji from 'twemoji-parser/dist/lib/regex.js';
const twemojiRegex = twemoji.default;
export const emojiRegex = new RegExp(`(${twemojiRegex.source})`);