Accept non-Latin characters to suggest hash tag (#39696)
This commit is contained in:
1 parent
ed8fbafb56
commit
dba4b37b8f
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 {
|
||||
|
||||
Reference in new issue
Block a user