• 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: Repeating search with GREP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repeating search with GREP


  • Subject: Re: Repeating search with GREP
  • From: Emmanuel <email@hidden>
  • Date: Mon, 31 Mar 2003 10:31:32 +0200

At 11:56 AM +1100 29/03/03, Timothy Bates wrote:
> find text "and" in theText with regexp and all occurrences
--> {{matchPos:393, matchLen:3, matchResult:"and"}, {matchPos:511,
matchLen:3, matchResult:"and"}}

Now if only the mythical AS 3 would appear with list objects, and we could
say

every match result of (find text "and" in theText with regexp and all
occurrences)
-->{"and", "and"}

In case that's of any help, if you just want the matching strings, you can use the "string result" option:

----------------------
find text "and" in theText with regexp, all occurrences and string result
-->{"and", "and"}
----------------------

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Repeating search with GREP (From: Timothy Bates <email@hidden>)

  • Prev by Date: Re: Non-AppleScript access to GUI scripting (System Events) plug-in?
  • Next by Date: Re: Making a folder in the user's library
  • Previous by thread: Re: Repeating search with GREP
  • Next by thread: Nikon Capture and AppleScript
  • Index(es):
    • Date
    • Thread