mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-21 21:55:09 +00:00
fix: add unicode flag
This commit is contained in:
parent
fb85b8abdb
commit
f5128d6ad5
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ export const language = P.createLanguage({
|
|||
return P.seq([
|
||||
P.alt([P.lineBegin, side]),
|
||||
mark,
|
||||
P.regexp(/[\p{N}\p{L}_+-]+/i),
|
||||
P.regexp(/[\p{Number}\p{Letter}_+-]+/iu),
|
||||
mark,
|
||||
P.alt([P.lineEnd, side]),
|
||||
], 2).map(name => M.EMOJI_CODE(name as string));
|
||||
|
|
Loading…
Reference in a new issue