Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toml.tmLanguage.json: invalid pattern in look-behind #245

Closed
sebthom opened this issue Apr 16, 2022 · 0 comments
Closed

toml.tmLanguage.json: invalid pattern in look-behind #245

sebthom opened this issue Apr 16, 2022 · 0 comments
Labels

Comments

@sebthom
Copy link
Contributor

sebthom commented Apr 16, 2022

TextMate uses the oniguruma syntax for regular expressions.

The meta.entry.toml pattern at

"match": "\\s*((?<!\\s*=\\s*)[^\\[{,=#]*)\\s*(=)",

however is not parsable using the oniguruma regex library and results in invalid pattern in look-behind.

you can try it here https://onecompiler.com/ruby/3xzax6uxj Ruby uses the oniguruma library for regex parsing.

@sebthom sebthom changed the title invalid pattern in look-behind toml.tmLanguage.json: invalid pattern in look-behind Apr 16, 2022
@tamasfe tamasfe added bug Something isn't working vscode needs investigation labels Apr 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants