In the vs code find/replace editor widget, I'm using a named capture group (?<end>.*\s*)
. I'm then using ${end}
in the replace but its just putting the literal text there instead of the captured contents. The unnamed capture groups are working as expected.
My regular expression works fine in Visual Studio 2019, but I'm not sure how to tweak the named capture group syntax for VS code.