-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


On July 3, 2014 6:59:52 AM GMT+03:00, Ben Fritz <[email protected]> wrote:
>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?

\V only *starts* the region. It does not affect the whole pattern.
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQI1BAEBCgAfBQJTtODWGBxaeVggPHp5eC52aW1AZ21haWwuY29tPgAKCRCf3UKj
HhHSvoe0EACj7eDSj+L2z+fwjssHRsapopQL5YZmhUqrY9Rym+RHEzrMsF07WmyA
Zzl4zO7fBm1XCuIe1enA2pRI4Udy6Sq0XurfhOpHcqiePfwBcJqYG3QZqPWrX4nG
A/hZefHGAN63LCH37RJubpzEkrJ6x4CIpEbNVsSvgmylTr99NV6IKcLwAX/1hM1R
uGurE8R6BSSgps0g8TqdHMwwRw/dOP4NvOEu3OO5s33iTRNLv81JXm77gP5qe9Dl
17lkeCtHTCYrmJ95ULGnKapJ7FFx2OXW5U3VCSboKUXn9eBaw9DKbUOi6Atzvsnt
hThHxJsBUu4fiDrnWnR09O9Aqh87Zfu1gPQqCeCfdNC1OUZNWQMVf2LKLj7Nt2IW
sb9iSyPWBszQatz6MKDzT/iAfJhBWAolEAHHA26SjYuPbe4ErJzt48lApo2az6Li
b8T+PSloHU/Z5CY+IlrPzoNUKFmBP7SYOKcLi3Hu1NCYLV09sHdfnRPf7So96sy8
AzshC84gXfFuGfk0mHW4Xoy+XsBte9mFTxPjlpBz5tFTqtnqIwG2q3WyD1cXlhKK
7rVy0vQyw+hwn+QPExpwDJeD81E3C7kJpD2lK0/gBr/VY1y2qGq8J5dJPoJgAtkc
iQGkOpAmxnV8DAlhHr2KZy6gr9zv8wMfaa/PQWAzpK4mUYwHKYCNJQ==
=fQA/
-----END PGP SIGNATURE-----

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui