fix unicode emoji regex flag

This commit is contained in:
kimpure 2026-05-21 16:28:27 +00:00
parent e3e4e5c27d
commit 01c5124e37
No known key found for this signature in database

View file

@ -212,7 +212,7 @@ export const UnicodeEmojis = {
export const UnicodeEmojisRegex = new RegExp( export const UnicodeEmojisRegex = new RegExp(
"[" + "[" +
Object.keys(UnicodeEmojis).join() Object.keys(UnicodeEmojis).join()
+ "]", "g " + "]", "g"
); );
export function processDots(input: string): string { export function processDots(input: string): string {