[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 Claire committed 2026-07-02 18:29:11 +02:00
1 parent 22ba0969c6
commit 948d0428d7
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 {