Hello,
Try:
/^.\{-}home.\{-}\zshome
for your reference:
\{-} makes the '.' match as little as possible
\zs makes the search match begin at this point in the pattern
regards,
Peter
--- zzapper <[EMAIL PROTECTED]> wrote:
> Hi given a sample text below
>
> home
>
> home gg home xxx
>
> home ggg ggg home home
>
> home home
>
> How do you match JUST the second "home" in any of the above lines (ie avoid
> greediness)
>
>
> --
> zzapper
> http://successtheory.com/tips/ Vim, Zsh, MySQL Tips
>
>
Send instant messages to your online friends http://au.messenger.yahoo.com