eregex.vim
eregex.vim copied to clipboard
No documentation on how to reference a capture group in the replace
Using references to capture groups in the replace like $1 doesn't work. I thought this was supposed to be Perl regex compatible. How is this supposed to work?
Use \1, just like the perlre syntax