jormungandr-bite/packages/backend/src/misc/emoji-regex.ts

5 lines
161 B
TypeScript
Raw Normal View History

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