On Aug 4, 4:36 pm, Bee <[email protected]> wrote:
> [^\s]\+ not same as [^\t ]\+
>
> vim 7.2.446 MacOS terminal
>
> [^\s]\+ matches everything except "\" and "s"
> Might make sense if "\s" was not special (?magic)
> I would think it should match all non-whitespace
>
> I tried the following thinking it was my .vimrc, but same result.
>
> vim -N -i NONE -u NONE
>
> I have not found any reference that "\s" cannot be used within [...]
> similar to "\t"
>
> Is this a bug? or feature?

Thank you Ben and Tim, I find it now!

Encountered when converted a regex from BBEdit to vim.
I know how to get around these differences,
but sometimes still cannot find where it is documented.

Thank you again
-Bill

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

Reply via email to