Sharkey/packages/backend/src/misc/emoji-regex.ts

5 lines
166 B
TypeScript
Raw Normal View History

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