I have a list of words:
bau ceu diu fou gau
I want to turn this list into:
byau cyeu dyiu fyou gyau
I tried the command:
:%s/(\w)(\w\w)/\1y\2/g
What do I need to change to get capture groups to work in Vim?
vim regex regex-group capturing-group
Christian Nov 11 '13 at 8:43 2013-11-11 08:43
source share