• 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: AS how to check if a file name matches a string in a text file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: AS how to check if a file name matches a string in a text file (From: Christopher Stone <email@hidden>)
 >Re: AS how to check if a file name matches a string in a text file (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: AS how to check if a file name matches a string in a text file
  • Next by Date: Finder window to front, AND above
  • Previous by thread: Re: AS how to check if a file name matches a string in a text file
  • Next by thread: Finder window to front, AND above
  • Index(es):
    • Date
    • Thread