Loading ...
Sorry, an error occurred while loading the content.

Re: patch for , that fixes handling of backslashes

Expand Messages
  • Bram Moolenaar
    ... 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!
    Message 1 of 2 , Sep 27, 2006
    • 0 Attachment
      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 -- Bram@... -- 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 ///
    Your message has been successfully submitted and would be delivered to recipients shortly.