You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See shikijs/shiki#866. Oniguruma's ^ doesn't match after a string-terminating \n (though it matches after every other \n, including the position sandwiched between \n\n). There is no equivalent restriction on $.
In other words, oniguruma-to-es needs to change its conversion for ^ from (?<=^|\n) to (?<=^|\n(?!$)).
The text was updated successfully, but these errors were encountered:
See shikijs/shiki#866. Oniguruma's
^
doesn't match after a string-terminating\n
(though it matches after every other\n
, including the position sandwiched between\n\n
). There is no equivalent restriction on$
.In other words,
oniguruma-to-es
needs to change its conversion for^
from(?<=^|\n)
to(?<=^|\n(?!$))
.The text was updated successfully, but these errors were encountered: