The behaviour is correct.

:help /\]

scroll down a little and you see the list of 'magic' things that are supported inside [].

Ben.



On 5/08/10 9:36 AM, Bee 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?

-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