The following scenario (Windows 10, vim 9.1.1591):

test.txt
--------------------------------------------------
Söldner.xxx
Söldner.yyy

Soldner.xxx
Soldner.yyy

" Execute:
"   1) /^\(.*\)\.xxx\n\1\.yyy/
"   2) set ic

" vi: hls noic
--------------------------------------------------

After step one lines 1 to 5 are highlighted.
After step two only lines 4 to are highlighted.

-- 
-- 
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.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/7412cf1f-bb8d-4b51-b8cd-251693e8f19cn%40googlegroups.com.

Raspunde prin e-mail lui