mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-22 05:55:13 +00:00
fix: side issue
This commit is contained in:
parent
b558dc21bb
commit
fb85b8abdb
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@ export const language = P.createLanguage({
|
||||||
},
|
},
|
||||||
|
|
||||||
emojiCode: r => {
|
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(':');
|
const mark = P.str(':');
|
||||||
return P.seq([
|
return P.seq([
|
||||||
P.alt([P.lineBegin, side]),
|
P.alt([P.lineBegin, side]),
|
||||||
|
|
Loading…
Reference in a new issue