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

This commit is contained in:
zunda authored and Tarrien committed 2026-08-14 07:23:43 -04:00
1 parent 04f4825c1f
commit e0fd68866e
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 {