RedCMD
RedCMD
thank you I have `rules.captureGroup` enabled looking forward to `rules.allowOrphanBackrefs` I gave `esbuild` a try but the js file isn't exporting its functions correctly I'm just gonna leave it for...
I've been giving a go at your suggestion following https://github.com/IvanKarpan/regex-recursion-cjs as the example I've run into annoying issues I can get it working a for a single file like `index`...
I just found something interesting found an issue while looking for the error https://github.com/search?q=%22No%20\%22exports\%22%20main%20defined%20in%22%20in:title%20is:closed&type=issues https://github.com/unjs/c12/issues/232 https://github.com/unjs/c12/commit/82f560ca3861ff6d9330c7e82f49984403fafb6d they have `"require"` properties in their `"exports"` I have a closer look tomorrow
cool cool I wanted to export everything cause: 1. its smaller than importing everything separately 2. single node package 3. I'll use `parse` and `transverse` once https://github.com/slevithan/oniguruma-parser/issues/9 is sorted 4....
even the syntax highlighter doesn't like it
caused by https://github.com/microsoft/vscode/pull/219833 you will need to update your embedding before VSCode re-adds the new YAML grammar again something like this will work: it uses [`while`](https://github.com/RedCMD/TmLanguage-Syntax-Highlighter/blob/main/documentation/rules.md#while) instead of `begin`/`end` ```json...
VSCode is looking at re-adding the new YAML grammar again in the upcoming Sep 4th release https://github.com/microsoft/vscode/issues/180523#issuecomment-2310855104
does joni support `begin`/`end`/`while` backreferences? TextMate allows `end`/`while` to reference capture groups in the `begin` regex via `\1`
you can see how these extensions support embedding other languages within YAML TextMate grammars https://marketplace.visualstudio.com/items?itemName=ruschaaf.extended-embedded-languages https://marketplace.visualstudio.com/items?itemName=harrydowning.yaml-embedded-languages
yeah there's a couple different versions in play with multiple notable differences that cause issues often `lookbehind assertion is not fixed length` https://github.com/github-linguist/linguist/issues/3924 VSCode's oniguruma v6.9.8 TextMates Onigmo v5.13.5 (oniguruma...