On 27/10/08 20:42, Peng Yu wrote:
> Hi,
>
> The command below would not search the string in the command
> correctly. I'm wondering what the correct way is to search for such
> string with a space/spaces in it.
>
> :grep 'some string with space in it' *.tex
>
> Thanks,
> Peng

I recommend using vimgrep, which uses Vim regular expressions:

        :vimgrep /some string with spaces in it/g *.tex

Best regards,
Tony.
-- 
"I have made this letter longer than usual because I lack the time to
make it shorter."
                -- Blaise Pascal


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to