Open nixel2007 opened 10 months ago
Seems it have something to do with unsupported UTF-16 characters in the language grammar.
function sanitize(pattern) { // Unsupported: // UTF-16 ranges
from generate.js
Compare this with BSL definition in https://github.com/PrismJS/prism/blob/master/components/prism-bsl.js
Thanks, I'll take a look. For most cases these utf-16 sequences can be simplified to [а-яё], which are in utf-8 range
prism.js v1 does not merge any PRs these days. Will you approve a .patch file with patch to bsl grammar and additions to generate.js/github workflow to apply the patch it at place?
Hello, team! I'm looking into the new way to include bsl
language into libprisma introduced recently. I want to clarify what does UTF-16 ranges
in sanitize
mean? Do you not support /uXXXX sequences at all or some concrete range (\uD800+ for example)?
If /uXXXX sequences are not supported at all, is there any way to add cyrillic letters into regex? will regular [а-яё]
work?
/cc @FrayxRulez
Anyone? :)
باتشکر و احترام ونااحترام کلاهبرداری در زمانه ای ک چوس بزنی اونور کره زمین میفهمه یک بی عقلی است انجام بدی
Hello! I've noticed that BSL language is excluded. Could you explain why? Does it use some feature that is not supported in libprisma? We could try to adjust the grammar to make it work with your lib.
Thanks in advance!