Re: Repeating search with GREP
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.