• 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: RegEx ignore case
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RegEx ignore case


  • Subject: Re: RegEx ignore case
  • From: Bill Briggs <email@hidden>
  • Date: Sat, 10 Mar 2001 22:38:33 -0400

At 7:28 PM -0600 10/03/01, Christopher C. Stone wrote:
> But PLEASE: could anyone explain to me why the last "case" thing gets
translated to 'with ignoreCase' when the script is saved or checked, whereas
it *refuses* to accept 'with ignoreCase' on subequent saves?? Very
> irritating!... What is the workaround?


This. Not sure if this came from Arthur or Ed, but if you write it like this

set theString to "wXyz"
REReplace theString with "y" pattern "x" ignoreCase (true)

the compilation will not rewrite it to "with ignoreCase". It will stay as

ignoreCase (true)

and will always recompile. It's painless and it works.

- web


References: 
 >Re: Help browser font size, code timing, RegEx (From: Harald E Brandt <email@hidden>)
 >RegEx ignore case (From: "Christopher C. Stone" <email@hidden>)

  • Prev by Date: Re: How did it end?
  • Next by Date: Re: Quitting all applications (Restart)
  • Previous by thread: RegEx ignore case
  • Next by thread: Re: Help browser font size, code timing, RegEx
  • Index(es):
    • Date
    • Thread