Wednesday, September 28, 2022

Error "Pattern found in every line". I expect to get "Pattern not found"

On latest gVim development 9.0612 downloaded from https://github.com/vim/vim-win32-installer/releases/latest on Windows 10.

Text file:
aaa
bbb


Try to find out all values not maching "aaa"
:v/aaa/p
It outputs:
bbb

So far as expected. Now from text file delete line "bbb" so only line "aaa" exits.
Repeat last command:
:v/aaa/p
It outputs:
Pattern found in every line: aaa

Shouldn't there be:
Pattern not found: aaa

Just like at:
:v/ccc/p
Pattern not found: ccc

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/95808ae1-35f1-4e83-8a4a-2d06f22c4cc5n%40googlegroups.com.

No comments: