TextCommands "check" results wrong?
TextCommands "check" results wrong?
- Subject: TextCommands "check" results wrong?
- From: Tim Mansour <email@hidden>
- Date: Thu, 5 Apr 2007 16:03:08 +1000
Hi all (and has in particular):
Using TextCommands to check whether a string might be a valid 13-
digit ISBN...
if check searchISBN matches "^978[0-9]{10}$" then
set searchField to "ISBN13"
end if
... is returning an error: "No result was returned from some part of
this expression".
My reading of the TextCommands dictionary is that "check" returns a
boolean, but in fact if there's no match it seems that it's not
returning a result at all, rather than returning "false".
--
Tim Mansour <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