Open ingria opened 1 year ago
Confirm. We don't use it in any of the core grammars [for this reason] and won't until some time after Safari finally supports it - which I assume will happen eventually. 3rd party grammars are of course free to do what they will.
Looking for help from @sobolevn
PRs are welcome!
Safari doesn't understand this part:
(?<!_)
and breaks.https://github.com/highlightjs/highlightjs-func/blob/2ed023ee42c2f891e923ffc5a53f944dc6098c73/src/languages/func.js#L16
https://caniuse.com/js-regexp-lookbehind