diff --git a/docs/books/admin_guide/05-vi.md b/docs/books/admin_guide/05-vi.md index 05042cfaea..5b3105c90b 100644 --- a/docs/books/admin_guide/05-vi.md +++ b/docs/books/admin_guide/05-vi.md @@ -381,11 +381,11 @@ To switch to *Ex* mode, from *command* mode, type :. `?string` -* Go to the next occurrence found: +* Find the next matching string: n -* Go to the previous occurrence found: +* Find the previous matching string: N @@ -395,29 +395,29 @@ There are wildcards to facilitate the search in VI. Example: -`/[Ww]ord` : search _word_ and _Word_ +`/[Ww]ord` : search _word_ or _Word_ `/[1-9]word` : search _1word_, _2word_ … _`x`word_ where `x` is a number -* `^` : Search for a string starting the line. +* `^` : Search for lines that begin with a characters. Example: `/^Word` -* `$` : Search for a string ending the line. +* `$` : Search for lines that end with characters. Example: `/Word$` -* `.` : Search for a word with an unknown letter. +* `.` : Search for any single character except newline characters. Example: `/W.rd` : search _Word_, _Ward_ … -* `*` : Search for one or more characters, whatever they are. +* `*` : The number of times the previous character matches, 0 times, or any number of times. Example: