1

in VI and man command, how to exactly match a string? I don't know how to exact match a string~

1
  • Do you mean match "by" in "something by something" but not in "something bytes this"?
    – livibetter
    Oct 11, 2010 at 9:12

2 Answers 2

5

Press / and enter the regular expression for the string you want to match, then press Enter.

0
1

If you mean a single word, you can use /\<word\>.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .