fix: side issue

This commit is contained in:
Marie 2024-03-03 15:23:26 +00:00
parent b558dc21bb
commit fb85b8abdb

View file

@ -621,7 +621,7 @@ export const language = P.createLanguage({
},
emojiCode: r => {
const side = P.notMatch(P.regexp(/[\p{N}\p{L}]+/i));
const side = P.notMatch(P.regexp(/[a-z0-9]/i));
const mark = P.str(':');
return P.seq([
P.alt([P.lineBegin, side]),