On Thu 30-Nov-06 9:20pm -0600, Peter Hodge wrote: > 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
One might think so, but also note: :help non-greedy In particular, ready the sentence starting with "BUT". All that is needed is: /home.\{-}\zshome Earliest is preferred to shortest. -- Best regards, Bill