Am 2014-09-10 07:57, schrieb Jan Christoph Ebersbach:
Hi,
I noticed that the search pattern \%V matches one character too short.
I inserted the following text:
foo x bary
Now, I selected "foo x bar" without the "y" in visual mode. According
to the documentation the search pattern "\%Vfoo.*bar\%V" should match
what I just selected, but it doesn't.
Only when I select "foo x bary" the pattern matches "foo x bar".
That is intended, because the \%V enforces a (zeor-width) match *after*
your visual selection.
See the discussion that followed patch 7.3.1112
(https://groups.google.com/d/msg/vim_dev/l8uTRc43ETI/H6KN6YopFhMJ) that
explains this.
Best,
Christian
--
--
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.