Vim Search String Appear Twice Posted Sep 15, 2023 By your_full_name 1 min read 1 /\(\w\+\).*return \1; ✓ getIDNO(){return IDNO;} ⤬ getNAME(){return “NAME”;}This will match first line, but not second line. vim vim This post is licensed under CC BY 4.0 by the author. Share