• 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: shell scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell scripting


  • Subject: Re: shell scripting
  • From: Cameron Hayne <email@hidden>
  • Date: Fri, 2 Mar 2007 23:29:55 -0500

On 1-Mar-07, at 2:25 PM, Stockly, Ed wrote:

there's nothing about regular expressions that couldn't be expressed in an english-like syntax using verbs and objects and properties.

Sample AppleScript code:
-------------------------------
set theAnswer to the string matched by the regular expression "^/\s* ([^:]*):\s*$" when applied to theLine
-------------------------------
:^)


--
Cameron Hayne
email@hidden


_______________________________________________ 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
References: 
 >Re: shell scripting (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Print to PDF
  • Next by Date: How to save the Safari front window contents by script
  • Previous by thread: Re: shell scripting
  • Next by thread: make archive if each folder on a share
  • Index(es):
    • Date
    • Thread