• 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: How to Do This Without Smile or Satimage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Do This Without Smile or Satimage


  • Subject: Re: How to Do This Without Smile or Satimage
  • From: Rick Gordon <email@hidden>
  • Date: Tue, 28 Feb 2012 19:50:13 -0800

I want a solution that allows complete regular expression capability without requiring user-maintained external resources. And I don't want to have to operate on an external file.

I'll be checking out Alex's sed suggestions to see if they will work.

It's a drag that AppleScript does not have regular expression management built in (or part of Standard Additions). Just about every other modern language does.

------------------

On 2/28/12 at 11:06 PM +1100, Shane Stanley wrote in a message entitled
"Re: How to Do This Without Smile or Satimage":

>On 28/02/2012, at 10:56 PM, Rick Gordon wrote:
>
>> The source match substring is "indent" and the change-to string is "flush". So basically, it's parsing the variable vParaStyleNameIn for a match to "indent" and returning the the changed string. In this case the regular expression option is set to true (though not really needed in this example), and case sensitivity is ignored.
>
>So why not just use text item delimiters?
>
>--
>Shane Stanley <email@hidden>
>'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>

--
___________________________________________________

RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________

WWW:   http://www.shelterpub.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: How to Do This Without Smile or Satimage
      • From: Christopher Stone <email@hidden>
    • Re: How to Do This Without Smile or Satimage
      • From: Shane Stanley <email@hidden>
References: 
 >Re: How to Do This Without Smile or Satimage (From: Rick Gordon <email@hidden>)
 >Re: How to Do This Without Smile or Satimage (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: How to Do This Without Smile or Satimage
  • Next by Date: Re: How to Do This Without Smile or Satimage
  • Previous by thread: Re: How to Do This Without Smile or Satimage
  • Next by thread: Re: How to Do This Without Smile or Satimage
  • Index(es):
    • Date
    • Thread