Re: Proposed patch: NL in sub-replace-expression('\=')

2011-03-24 Fir de Conversatie Motoya Kurotsu
-replace-special*. The description about % used in the third argument of substitute() is added. See *:s%*. The description about submatch() used in substitute() is added. See *submatch()*. Regards, Motoya Kurotsu 2011/3/20 Motoya Kurotsu motoya.kuro...@gmail.com: Hi, Thank for the patch.  How

Re: Proposed patch: NL in sub-replace-expression('\=')

2011-03-19 Fir de Conversatie Motoya Kurotsu
Hi, Thank for the patch. How about adding a test? I would post the patch as soon as possible. Motoya Kurotsu 2011/3/18 Bram Moolenaar b...@moolenaar.net: Motoya Kurotsu wrote: The patch is attached. Please check and correct. I deleted the following expression in *sub-replace

Re: Proposed patch: NL in sub-replace-expression('\=')

2011-03-16 Fir de Conversatie Motoya Kurotsu
in a :substitute command. Since the introduction of submatch() in eval.c (vim-6.0d or CVS revision 1.12), it seems to have worked with the first level substitute() such like the following. let y = substitute(hello, '\l', '\=toupper(submatch(0)), g) Regards, Motoya Kurotsu 2011/3/17 motz motoya.kuro