Ответ на сообщение «Re: Vim RE and lazy operator», 
присланное в 20:52:18 30 августа 2010, Понедельник,
отправитель Tom Link:

You are sure? Quick test:
    :echo matchstr('"", "a...@def", ""', '"\zs.\...@.\{-}\ze"')
should echo ``...@def'', but echoes ``", "a...@def''.

Текст сообщения:
> > You mean, non-greedy? For part after @ you can use non-greedy \{-1,}
> > instead of \+, but this will not help you with part before @. Here you
> > must just replace dot with [^"@].
> 
> This one should work too:
> s/"\zs.\...@.\{-}\ze"/.../g

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to