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

Re: This simple regex doesn't work -- bug?

Expand Messages
  • Suresh Govindachar
    ... Thanks, this feature makes it easier to think about what I am trying to match. --Suresh
    Message 1 of 5 , Mar 31, 2004
      Benji Fisher wrote:
      >>On Tue, Mar 30, 2004 at 09:37:23PM -0800, Suresh Govindachar wrote:
      >>
      >> Thanks for the explanation -- I was thinking of
      >> "[^\t]" as "do not match a tab" rather than as
      >> "match anything except a tab" and so did not
      >> realize that it actually matched something!
      >>
      >> --Suresh
      >
      > If you want "do not match a tab," try '\t\@!' or
      > '\t\@<!' instead of '[^\t]'. Both of these are
      > zero-width operators.
      >
      > :help /\@<!
      > :help /zero-width

      Thanks, this feature makes it easier to think about
      what I am trying to match.

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