Reproducible in vscode.dev or in VS Code Desktop? Put the editor in Javascript mode. Assign the following regex to an object property. Include some additional code following the object containing the ...
Oniguruma is a regular expression engine written in C that's used in Ruby (via a fork named Onigmo), PHP (mb_ereg, etc.), TextMate grammars (used by VS Code, Shiki, etc. for syntax highlighting), and ...