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

Re: [Clip] Re: ^$GetReSubStrings$

Expand Messages
  • Don - HtmlFixIt.com
    Don Daugherty wrote: wrong ... right! ... Exactly! But I also have to put () around the outside of it to do what I wanted. don squared ...
    Message 1 of 9 , Apr 12, 2007
      Don Daugherty wrote:
      wrong
      >> ^!Find "^.+|.+\n\r" RS

      > Don:
      > Is the "|" in your ^!Find command intended as a character in the search
      > string, or is it intended to separate two alternatives?
      > If it's a character then it needs to be "escaped" as "\|" since
      > otherwise "|" has a special meaning in regular expressions. thus your
      > ^!Find would be written as
      right!
      > ^!Find "^.+\|.+\r\n" RS
      > which would mean find, STARTING AT THE BEGINNING OF A LINE (that's what
      > "^" means in RegExp), one or more characters followed by "|", followed
      > by one or more additional characters, followed by an end of line.
      >
      > Is that what you had in mind?
      >
      Exactly! But I also have to put () around the outside of it to do what
      I wanted.

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