• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SSI-ASUG: RegEx Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: AppleScript Logo
  • Next by Date: Re: Scripting Mail.app
  • Previous by thread: Re: filtering alias files by original item
  • Next by thread: Palm desktop/amateur question
  • Index(es):
    • Date
    • Thread