Yakov Lerner wrote: > Attached patch fixes handling of backslashes in <f-args> > according to the Bram's table, below. Doc patch is included, too. > > Pair of backslashes is translated into single backslash. > Otherwise backslash is special before whitespace, otherwise > backslash is not special (single backslash represents single > backslash except before whitespace or before another backslash). > > Yakov > > > Bram Moolenaar wrote: > > command new <f-args> old <f-args> > > XX ab ab ab > > XX a\b a\b a\b > > XX a\ b a b a b > > XX a\\b a\b a\\b > > XX a\\ b a\ b a\ b > > XX a\\\b a\\b a\\\b > > XX a\\\ b a\ b a\\ b > > XX a\\\\b a\\b a\\\\b > > XX a\\\\ b a\\ b a\\\\ b
Thanks for the patch. I'll await remarks. -- CART DRIVER: Bring out your dead! LARGE MAN: Here's one! CART DRIVER: Ninepence. BODY: I'm not dead! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///