Wednesday, September 28, 2022

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

It's correct. You file no only contains one line 'aaa'. There is nothing
that is not 'aaa', so nothing to print use :v. The pattern 'aaa' is in
every line, all of one line. That is expected behaviour, though it can
take a while to wrap your head around, but trying to list lines are not
that single line in a single line file is a degenerate case.

Andrew


--
--
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/cb20fdee-60fc-5507-3a22-7418b4762bff%40gmail.com.

No comments:

Post a Comment