The regex still has to be valid JavaScript regex. This allows more advanced regex operations like lookaheads and backreferences. This can be enabled through the settings config. ![]() VS Code has the option to opt into using the Perl based PCRE2 engine. The find widget is simply using JavaScript's regular expressions as specified in ECMAScript 5 (the runtime of VS Code). Therefore, I am writing this article as my own reference to a useful tool with VS Code. This is a feature I use with some frequency, but not frequently enough that I remember the pattern when I need it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |