Fix autosuggestions overstaying their welcome in languages that don't use spaces (#40217)

This commit is contained in:
Eugen Rochko authored and Claire committed 2026-08-20 15:27:28 +02:00
1 parent 3aa5582fe6
commit b77073019d
3 files changed
+39 -3

No files matched your search

+1 -1
View File
@@ -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 = () => {