On Wednesday, April 4, 2012 12:12:28 PM UTC-5, hilal Adam wrote: > Sorry if not correct platform for this question.</div> > Need to use vimgrep/grep to find a particular string in c code. I am trying > to find all occurrences of '**' (pointer to pointer). But I get > hundreds of lines of output for all comment lines which include a minimum of > 2 '*'s.</div> > Any help is appreciated.</div> > > </div> > HA > </div></div></div>
vimgrep, just like '/' searching in Vim, uses regular expressions. In a regular expression, * means "as many as possible of the preceding search atom" which normally means "as many as possible of the preceding character". You don' -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
