1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-26 12:38:08 +09:00
hotomoe/packages/backend/src/misc/emoji-regex.ts

5 lines
161 B
TypeScript
Raw Normal View History

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