In a simple test file, this did what I think you're asking: /\v^(.*exim[/]input)@!
Notice the use of @! instead of @<! On Sunday, December 20, 2020 at 6:09:47 AM UTC-5 A. Wik wrote: > Hi all, > > Browsing a directory listing, sometimes I hit lines like these: > ./spool/exim/input/1FM8sl-00004n-Ix-H > ./spool/exim/input/1FM8sn-00004u-OF-D > ./spool/exim/input/1E9dsQ-00004f-MO-D > [... thousands of similar lines ...] > > How can I use "/" to find the next line not matching the above > pattern? I've tried the following (and several variations): > /\(.*exim.input\)\@<!.* > > Regards, > Albert Wik. > -- -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/47986bcd-3a6e-4849-bbff-1f92366d7c8an%40googlegroups.com.
