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

link|improve this question

72% accept rate
Do you mean match "by" in "something by something" but not in "something bytes this"? – livibetter Oct 11 '10 at 9:12
feedback

2 Answers

up vote 5 down vote accepted

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

link|improve this answer
/ \word\b , works, use regular expression, thanks – Foolish Oct 12 '10 at 1:22
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.