Categories
Uncategorized

Regex, Non-greedy Matching and Sets – Vim

We start with the string and we want to end up with Non-greedy First thing we do is delete everything from `string’ to `changed’ using .\{-} to mean `everything between’ and we end up with Using sets We can divide the strings into sets by encapsulating them in \( \). We can also use \a\{6} […]