Friday, September 17, 2010

Re: WORD not word

Israel Chauca F. <israelvarios@fastmail.fm> [10-09-18 08:17]:
>
> 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
>

Hi Israel,

that helps! :)
Thanks a lot for you reply!

Best regards,
mcc

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