Tuesday, April 15, 2014

Re: Another SRT questions

On 2014-04-15 19:16, Jeri Raye wrote:
> What is the meaning of the & in the \u&?

I thought it was referenced in this thread, but I might be
misremembering it from another thread:

:help sub-replace-special

The "\u" means "make the next letter uppercase" and the "&" means
"the matched text" (starting after the "\zs" which sets where the
match/replacement starts in the pattern; and ending with "\ze" if
that was used)

-tim


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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: