Ben Schmidt wrote: > > I would like to propose a patch which suppresses the conversion of > > <NL> to<CR> when evaluaation ('\=') is used inside substitute() > > function. > > Simply this patch is what makes x == y true in the following code. > > > > let x = substitute('a', '.', "\n", "") > > let y = substitute('a', '.', '\="\n"', "") > > Regardless of whether the functionality change of the patch is accepted, > I think there should be a change to :help sub-replace-expression to > explain what is done when \= is used within substitute().
Can someone propose a patch? -- Why isn't there mouse-flavored cat food? /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- You received this message from the "vim_dev" 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