© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Mark
I'm not very familiar with vs code, but in general, regular expressions can indeed refer to matched groups any number of times, yes.
They're called 'back references', which led me to this. Seems $1 might be what you're looking for.
$1
Kumar Abhishek
#include < life.h > int main() { int learn = 0; while ( 1 ) learn = learn + 1; return 0; }
Successfully worked using $2 in my case