Friday, September 17, 2010

Re: WORD not word

On Sep 17, 2010, at 11:31 PM, meino.cramer@gmx.de wrote:

>
> Hi,
>
> is there a regexp for a WORD (in opposite to a word) ? I only
> found
> \w
> for a word and
> \W
> for a non-word.

\w is one word character, to match a word use \w\+, try with \S\+ for a WORD ("sequence of non-blank characters, separated with white space.").

Cheers,
Israel

--
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

No comments:

Post a Comment