Re: [Clip] Re: ^$GetReSubStrings$
- Don Daugherty wrote:
>> ^!Find "^.+|.+\n\r" RSright!
> 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
> ^!Find "^.+\|.+\r\n" RSExactly! But I also have to put () around the outside of it to do what
> 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?
don squared ...