iceshrimp-161sh/packages/backend/src/misc/emoji-regex.ts

5 lines
161 B
TypeScript
Raw Normal View History

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