Re: shell scripting
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