On Thu, Apr 18, 2013 at 11:07 AM, Ben Fritz <[email protected]> wrote:
> ...
>
> I got it working *better* using \@<= instead of \zs:
>
> \%(\<match /.\{-}\)\@<=\<\w\{1,5}\>\ze.\{-}/
>
> But this also removes the second "match" in the line, so you'll need to
> refine it some more, using [^/] instead of . to avoid that the ending '/'
> is allowed to match the beginning pattern:
>
> \%(\<match /[^/]\{-}\)\@<=\<\w\{1,5}\>\ze.\{-}/
>
> Now I think it works as you intended.
>
Thanks Andy and Ben.
Using these hints I was able to get something that met my needs.
Much appreciated.
David
--
--
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].
For more options, visit https://groups.google.com/groups/opt_out.