Accept non-Latin characters to suggest hash tag (#39696)

This commit is contained in:
zunda authored and Claire committed 2026-07-21 14:41:15 +02:00
1 parent ed8fbafb56
commit dba4b37b8f
3 files changed
+36 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
const HASHTAG_SEPARATORS = '_\\u00b7\\u200c';
const ALPHA = '\\p{L}\\p{M}';
const WORD = '\\p{L}\\p{M}\\p{N}\\p{Pc}';
export const WORD = '\\p{L}\\p{M}\\p{N}\\p{Pc}';
const buildHashtagPatternRegex = () => {
try {