[Glitch] Accept non-Latin characters to suggest hash tag

Port 72085f7d52 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
zunda authored and Tarrien committed 2026-08-14 07:27:21 -04:00
1 parent eda507e673
commit 449aa77337
3 files changed
+36 -2

No files matched your search

@@ -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 {