Re: AS how to check if a file name matches a string in a text file
Re: AS how to check if a file name matches a string in a text file
- Subject: Re: AS how to check if a file name matches a string in a text file
- From: Christopher Stone <email@hidden>
- Date: Sat, 05 Jul 2014 08:36:55 -0500
On Jul 05, 2014, at 07:58, Shane Stanley <email@hidden> wrote:
>
>> (If your system is Mavericks you can use a ASObjC-Library for the regex instead of the Satimage.osax, and I believe Shane has posted one.)
>
> You could, but given that the job is to find lines that are exact matches of a string, I'm struggling to see the need for regex at all.
______________________________________________________________________
Hey Shane,
I believe you were the one who pointed out the possibility of finding embedded strings using a literal search.
Regex makes it simple to anchor at the beginning and end of a line. You have much more control over what you find.
--
Take Care,
Chris
_______________________________________________
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