Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.87.2 (user setup) 863d2581ecda6849923a2118d93a088b0745d9d6
- OS Version: Windows_NT x64 10.0.22631
Steps to Reproduce:
- create a file with the following contents:
const match = /(?<n>issue)/u.exec("issue");
// comment
const num = 42;
- change the
u flag to the v flag:
const match = /(?<n>issue)/v.exec("issue");
// comment
const num = 42;
Expected: syntax coloring works
Actual: syntax coloring breaks in step 2