Timeline for VSCode regex find & replace submatch math?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 6 at 20:11 | comment | added | Elijah Lynn |
Just used this in Cursor (fork of VSCode) and it worked great! I used the parens with a .* , e.g. environment: (.*) and was able to keep the replacement with a environment: $1 while adding a new line of text below my match.
|
|
Nov 12 at 14:14 | comment | added | Little Bobby Tables | Benjamin got the correct answer to the question that was written but you gave the right answer to the question that was asked! | |
Jul 24 at 10:21 | comment | added | Tomic | This is the comment I've been searching for that's for people not experienced with RegEx. Thank you so much! | |
Jul 6 at 9:28 | comment | added | Silidrone | Very good demonstration of how to use examples to answer questions! | |
Jan 7, 2017 at 4:21 | history | answered | Shaun Luttin | CC BY-SA 3.0 |