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

Re: AppleScript and shell scripting


  • Subject: Re: AppleScript and shell scripting
  • From: "Mark J. Reed" <email@hidden>
  • Date: Wed, 25 Jul 2007 16:39:57 -0400

I hate to interrupt the philosophical debate with a technical question, but something niggled at me about has's solution:

tell application "TextCommands"
     repeat with fileName in allFileNames
         if check fileName matches "l325010[a-z].*" then
             set end of matchingFileNames to fileName
         end if
     end repeat
end tell

May I infer from the above that TextCommands "matches" patterns are automatically anchored (that is, required to match the entire string)?


 


--
Mark J. Reed <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

  • Follow-Ups:
    • Re: AppleScript and shell scripting
      • From: has <email@hidden>
References: 
 >Re: AppleScript and shell scripting (From: has <email@hidden>)

  • Prev by Date: Re: AppleScript and shell scripting
  • Next by Date: Re: AppleScript and shell scripting
  • Previous by thread: Re: AppleScript and shell scripting
  • Next by thread: Re: AppleScript and shell scripting
  • Index(es):
    • Date
    • Thread