vim regular expression
- by chappar
I have following text in a file
23456789
When i tried to replace the above text using command
1,$s/\(\d\)\(\d\d\d\)\(\d\d\)*\>/\3\g
I am getting 89. Should't it be 6789? Can anyone tell me why it is 89.