toitware / ide-tools

Tools for working with Toit in different IDEs
MIT License
2 stars 2 forks source link

Invalid character class range `[\w-.]` #247

Closed RedCMD closed 6 months ago

RedCMD commented 6 months ago

The character class range inside (?=[^\w-.?]) is invalid causing the "end" rule to never match I assume you meant to escape the -. (?=[^\w\-.?]) https://github.com/toitware/ide-tools/blob/60efd96a42cd639f7c966d9ed51b1cd456e4a8e8/vscode/syntaxes/toit.tmLanguage.yaml#L219