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

Re: RegEx bug?

Expand Messages
  • silvermoonwoman2001
    ... supported.) ... I think there s a bug in the RegEx engine. ... If you are trying to get rid of all blank lines, try this: Find ^ n Replace (nothing) (x)
    Message 1 of 3 , Feb 1, 2002
    • 0 Attachment
      --- In notetab@y..., "pbatchie" <paulaol@o...> wrote:
      > Greetings,
      >
      > Do we have a bug? I was trying to do a Replacement in NTL 4.86c:
      >
      > Find: \n\n\n+
      > Replace: \n\n
      > [x] RegEx
      >
      > (I also tried Find: '\n\n(\n)+'. I take it the form '\n{3,}' is not
      supported.)
      >
      > It caught double blank lines, but not triple or greater.
      >
      > Additionally, Modify/Lines/Compress exhibits the same behavior. So
      I think there's a bug in the RegEx engine.
      >
      > Thanks much,
      > Paul

      If you are trying to get rid of all blank lines, try this:

      Find ^\n
      Replace (nothing)
      (x) regex

      Regards,
      Sheri
    Your message has been successfully submitted and would be delivered to recipients shortly.