Javascript regex syntax highlighting fails for !/regex/.test #91906
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
grammar
Syntax highlighting grammar
javascript
JavaScript support issues
upstream-issue-linked
This is an upstream issue that has been reported upstream
Issue Type: Bug
If parenthesis aren't added around /regex/.test(...), syntax highlighting for the regex fails (and occasionally it will break the syntax highlighting for code below it as well)
VS Code version: Code - OSS 1.42.1 (c47d83b, 2020-02-17T09:32:31.598Z)
OS version: Linux x64 5.5.5-zen1-1-zen
The text was updated successfully, but these errors were encountered: