Skip to content

Javascript - regular expressions are not colored - Javascript mode instantiated twice #34

Description

New javascript file, use the following code snippet:

var booleanRegex = /^true|false$/i;
var stringRegex = /^(['"]).*\1$/;

Notice the regex value does not get colored.
Regex coloring works for Typescript.

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions