VSCode allows us to customize a theme with the setting
editor.tokenColorCustomizations
. Some theme like Dark Modern
VSCode theme or Github Dark Default
have already syntax highlighting for RegEx.
Knowing that, we have the possibilities to have a more advanced highlighting closer to regex101, regexr or regextester.