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

Re: escape() and '

Expand Messages
  • Nikolai Weibull
    ... Ahahaha, OK. Sorry. Goddam I hate the concatenation operator. It s virtually impossible to spot. V . escape(...), now that I can sort of semi-read.
    Message 1 of 14 , Oct 25, 2006
    • 0 Attachment
      On 10/25/06, Nikolai Weibull <now@...> wrote:
      > On 10/25/06, Hari Krishna Dara <hari_vim@...> wrote:
      >
      > > '\V'.escape(substitute(regex, "'", "''", 'g'), '\')
      >
      > Uh, when did Vim's strings become "objects"? (Would be really nice if
      > they were, mind you.)

      Ahahaha, OK. Sorry. Goddam I hate the concatenation operator. It's
      virtually impossible to spot. '\V' . escape(...), now that I can sort
      of semi-read.

      nikolai
    Your message has been successfully submitted and would be delivered to recipients shortly.