On Mo, 30 Aug 2010, ZyX wrote:
> You are sure? Quick test:
>     :echo matchstr('"", "abc@def", ""', '"\zs.\{-}@.\{-}\ze"')
> should echo ``abc@def'', but echoes ``", "abc@def''.
I am not sure, what you tested, but this works as expected:
:echo matchstr('"abc@def"', '"\zs.\{-}@.\{-}\ze"')
abc@def 
regards,
Christian
-- 
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
 
No comments:
Post a Comment