I've the following content:
group1 item1 item2 item3 group2 item4 item5 group3 item6
where I'd like to select all items which belong to
group2 using a search range.
Here is my approach:
however it seems the
\ze doesn't take any effect, because this is what is printed:
item4 item5 group3
I expect only
item5 to be printed, without ending pattern (
How do I exclude the ending pattern then?