diff --git a/src/internal/parser.ts b/src/internal/parser.ts index 7beb55b..ef3264d 100644 --- a/src/internal/parser.ts +++ b/src/internal/parser.ts @@ -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));