Monday, May 9, 2016

Re: why %s/b//gn doesn't work?

在 2016年5月7日星期六 UTC+8下午7:14:35,Tim Chase写道:
> On 2016-05-06 21:52, Tim Chase wrote:
> > I recall there was a patch that performed evaluations of the
> > replacement in the case it was a "\=" (sub-replace-special), but
> > didn't actually replace the text. I'd have to go digging for info
> > to exactly which version/patch that went into.
>
> For the record, that was fixed by Christian Brabandt in
>
> Patch 7.3.627
>
> Problem: When using the "n" flag with the ":s" command a \=
> substitution will not be evaluated.
>
> Solution: Do perform the evaluation, so that a function can be
> invoked at every matching position without changing the text.
>
>
> which may have stemmed from my grumbling in
>
> https://groups.google.com/d/msg/vim_use/NZauOgvbDIs/8fHuieeyfyEJ
>
> Thanks, Christian, for making my vimming a little better there :-)
>
> -tim

yean tnx a lot the `repor 0` worked, tnx

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