Thanks a lot. Expecting your conclusion

On 9月10日, 下午4时13分, "John Beckett" <johnb.beck...@gmail.com> wrote:
> Aleafs wrote:
> > :1,$  s/\t0\n/\n/g
>
> In a substitute, \n means two different things:
> - In the pattern, it refers to a newline.
> - In the replacement, it refers to a null byte (8 zero bits).
>
> You can see this at ':help :s' by following the first two links.
>
> In a replacement, '\r' inserts a newline. Yes, it's strange, and
> no, I didn't try to work out why this issue caused the problem
> you report.
>
> John
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui