Monday, August 6, 2012

Re: vim: comment regex

On Aug 6, 8:48 am, Ben Fritz <fritzophre...@gmail.com> wrote:
> let pattern='apples'      " apples are healthy
> let pattern.='\|bananas'  " and bananas are delicious

These do the same thing:
let @/ = @/ . pad[c]
let @/ .= pad[c]

Is there an advantage (speed, space) to use one rather the other?

Bill

--
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: