Post

Vim Search String Appear Twice

1
/\(\w\+\).*return \1;  

✓ getIDNO(){return IDNO;}
⤬ getNAME(){return “NAME”;}

This will match first line, but not second line.

This post is licensed under CC BY 4.0 by the author.