Re: Help with find text command
Re: Help with find text command
- Subject: Re: Help with find text command
- From: has <email@hidden>
- Date: Wed, 1 Aug 2007 22:07:34 +0100
Wallace, William wrote:
I will need the offset as well as the matched string. Satimage
returns a record with the offset, the length, and the matched string:
In that case you'll need to use a combination of regexp and non-
regexp matching as-per your original description.
However, I think "[[:digit:]X-]{13}" should produce what is needed in
the Satimage call.
Bear in mind that that will match patterns of 13 *or more*
characters. To match exactly 13 characters, you'll want to match for
(e.g.) word boundaries as well (\< and \> in Satimage.osax). See my
earlier post for an example.
HTH
has
--
http://appscript.sourceforge.net
http://rb-appscript.rubyforge.org
http://appscript.sourceforge.net/objc-appscript.html
_______________________________________________
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