On Wednesday, July 2, 2014 1:57:09 PM UTC-5, Ozaki Kiichi wrote:
> Hi.
> 
> In regexp operation,
> \v and \V, in contrast with \c, \C, \m and \M, disable the preceding '$' 
> (end-of-line) atom.
> This seems to be inconsequence.
> 
> 
> " matching end-of-line
> echo 'hoge' =~# 'hoge$\m'       | " Expect 1, Result 1
> echo 'hoge' =~# 'hoge$\M'       | " Expect 1, Result 1
> echo 'hoge' =~# 'hoge$\v'       | " Expect 1, Result 0 <- ?
> echo 'hoge' =~# 'hoge$\V'       | " Expect 1, Result 0 <- ?
> 

Shouldn't you need to escape the $ with a \ when using \V?

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui