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

Re: \%( - Perl equivalent?

Expand Messages
  • Benji Fisher
    ... Probably %(pattern ) @
    Message 1 of 5 , Jun 8, 2004
    • 0 Attachment
      On Tue, Jun 08, 2004 at 11:31:18AM -0600, Brent Rice wrote:
      > Though I imagine that your question is answered at this point, I
      > realized that I probably should not have included the < > around
      > "pattern". Sometimes I get confused as to proper presentation of
      > intended information. Perhaps the non-capturing parentheses notation
      > should have been stated as:
      >
      > (?:pattern)
      >
      > The < could cause some confusion, since it is necessary for lookbehind
      > regexes.
      >
      > (?<=pattern) - positive lookbehind
      >
      > (?<!pattern) - negative lookbehind
      >
      > Not sure what the vim equivalent for these is.

      Probably \%(pattern\)\@<= and \%(pattern\)\@<! .

      HTH --Benji Fisher
    Your message has been successfully submitted and would be delivered to recipients shortly.