Re: SSI-ASUG: RegEx Question
Re: SSI-ASUG: RegEx Question
- Subject: Re: SSI-ASUG: RegEx Question
- From: "Daniel A. Shockley" <email@hidden>
- Date: Sun, 13 Jan 2002 21:18:56 -0500
To: email@hidden
From: has <email@hidden>
Subject: Re: Regular Expressions and Smile
Daniel A. Shockley wrote:
I'm trying to do regular expressions and running into some annoying
problems. Perhaps I'm missing some knowledge of Regular Expressions,
>but I've run into a serious problem with RegEx by Lenoard Rosenthal.
[snip]
[snip]
To work around this problem, you can use:
REReplace "blah blah" with "X" pattern "B" ignoreCase 1
Which is maybe a little bit of a hack, but should solve your problem for you.
Arthur J. Knapp responded to this question in a different list I'm on
and pointed out that:
REReplace "blah blah" with "X" pattern "B" ignoreCase (true)
stays the same during compile, and works successfully. This qualifies
as not even being a hack, and seems to be thes best way to go to
maintain readability. Thank God for parentheses! :-)
Thanks all!
--
----
Daniel A. Shockley
email@hidden
email@hidden
http://www.danshockley.com