[Glitch] Fix autosuggestions overstaying their welcome in languages that don't use spaces

Port 8d8b9c84a41b0b7e22822ed49ed58e77da2970ef to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko authored and Claire committed 2026-08-28 19:05:44 +02:00
1 parent 2db065960d
commit 49356d4b7c
3 files changed
+39 -3

No files matched your search

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