regexp
regexp
- Subject: regexp
- From: Robert Poland <email@hidden>
- Date: Tue, 6 Sep 2005 18:50:31 -0600
Hi,
The script;
set w to window 2 -- a text window
set bounds of w to {0, 44, 588, 517} -- this line works
change {"^[[:space:]]+", "[[:space:]]+$"} into {"", ""} in w with regexp
gives me the error"Can't make {"^[[:space:]]+",[[:space:]]+$"}into type string"
What am I doing wrong?
What is the function of the colons?
What form would text take in the find area?
I would appreciate an example of replacing "this" with "that".
Tia,
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden