Vim search patterns are regular expressions. Several times the question
has come up whether there is a good book for learning to use regular
expressions. The answer is always the same: Get the O'Reilly book
"Mastering regular expressions".
Although the book doesn't explicitly mention Vim, regular expressions
that other programs use are almost the same. The differences can be
easily found in the Vim help files.
To make it easy to find the book I have added links to the page about
the Vim book. Using these links also helps needy children in Uganda,
since 5 to 15% of the sales goes to them.
A computer program does what you tell it to do, not what you want it to do.
/// Bram Moolenaar -- Bram@...
/// Creator of Vim - Vi IMproved -- http://www.Vim.org
\\\ Project leader for A-A-P -- http://www.A-A-P.org
\\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html