mirror of
https://git.joinfirefish.org/firefish/firefish.git
synced 2024-05-19 04:21:11 +02:00
6 lines
242 B
TypeScript
6 lines
242 B
TypeScript
import twemoji from "@twemoji/parser/dist/lib/regex.js";
|
|
const twemojiRegex = twemoji.default;
|
|
|
|
export const emojiRegex = new RegExp(`(${twemojiRegex.source})`);
|
|
export const emojiRegexAtStartToEnd = new RegExp(`^(${twemojiRegex.source})$`);
|