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.