Re: Help with find text command
Re: Help with find text command
- Subject: Re: Help with find text command
- From: Philip Aker <email@hidden>
- Date: Sat, 04 Aug 2007 01:38:28 -0700
On 2007-08-03, at 22:25:08, email@hidden wrote:
>>philip>>The script found the two "legal" ISBN-10s in the 't'
variable.
There are four "legal" ISBN-10s in the 't' variable. Which are
you finding and which are you not finding?
There were only two legal IBSN-10s in the previous "t" variable
I posted. The other two were illegal. One had an extra "z" on
the end and the other was embedded in a larger "word" that
looked like a bizarre email address.
No, no, those are legal ISBNs. ISBNs do not have to be preceeded by
a space or followed by a space.
<http://regexadvice.com/blogs/dneimke/archive/2003/12/06/179.aspx>
<http://www.isbn.org/standards/home/isbn/international/html/usm4.htm>
Plus the original poster began this asking for a solution that
would find those two numbers, and you included that text as a key
part of your challenge, you can't change the rules once we've started.
Here's what William wrote in reply to one of Hamish's posts:
"Thanks for the heads up. However, in this case I think it may be a
moot point because of the nature of the project. The script is
intended to assist in updating the publisher's catalog which
currently contains only 10 digit ISBNs. I am using the script to put
the 13 digit ISBNs into the catalog (as well as updating the prices).
So I'm fairly confident that the situation you describe won't be
encountered (but still good to know for future reference)."
Your script needs to find those too, or it fails your own challenge.
Can you duplicate the Tcl output in AppleScript or not is the question.
Philip Aker
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