<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ --> <!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ --> <!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions --> <!-- 🔎 Search existing issues to avoid creating duplicates. --> <!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ --> <!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --> <!-- 🔧 Launch with `code --disable-extensions` to check. --> Does this issue occur when all extensions are disabled?: Yes <!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --> <!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. --> - VS Code Version: ``` 1.85.2 c8a36a69377856369f139f39ee56dd3838130fbf x64 ``` - OS Version: `n/a` Putting a regular expression on a new line in JavaScript or TypeScript breaks the highlighter. Steps to Reproduce: 1. paste this: ```ts 1 / f(/u/g) function f(_: RegExp) { return 1; } ``` 2. make sure the language mode is set to TypeScript Expected: Same highlighting as this:  Actual:  Theme: `@id:vscode.theme-defaults`: Dark +