Re: NSRegular expression question
Re: NSRegular expression question
- Subject: Re: NSRegular expression question
- From: Shane Stanley <email@hidden>
- Date: Sat, 2 Sep 2017 23:10:59 +1000
And you can test for failure something like this:
if matchRange's |length| > 0 then
set theWord to (theText's substringWithRange:matchRange) as text
else -- not found
-- do something else here
end if
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden