upd: add Mark to regex

This commit is contained in:
Marie 2024-03-06 16:22:46 +00:00
parent f5128d6ad5
commit 7b6749fc35

View file

@ -626,7 +626,7 @@ export const language = P.createLanguage({
return P.seq([
P.alt([P.lineBegin, side]),
mark,
P.regexp(/[\p{Number}\p{Letter}_+-]+/iu),
P.regexp(/[\p{Letter}\p{Number}\p{Mark}_+-]+/iu),
mark,
P.alt([P.lineEnd, side]),
], 2).map(name => M.EMOJI_CODE(name as string));