satimage: how to change using regexp, returning the whole string
satimage: how to change using regexp, returning the whole string
- Subject: satimage: how to change using regexp, returning the whole string
- From: Tim Bates <email@hidden>
- Date: Thu, 14 Jul 2005 16:53:49 +1000
hi,
Using satimage extension for regexp, what i want to do is find all occurences of
a pattern past a certain startpoint, and change these. I can find all occurences
past a certain point (here's a tiny example to be easy to read, which doesn't
have the all occurences flag set)
set txt to change "x" into "X" in "123x456" starting at 3 with regexp
but, txt is now set to "X456", in other words, only the string past "starting at"
is returned.
Question: how do i get the whole string, with the change?, i.e.
"123X456"
tim
This Message is intended for the addressee named and may contain
confidential information. If you are not the intended recipient, please
delete it and notify the sender. Views expressed in this message are those
of the individual sender and are not necessarily the views
of The Macquarie Centre for Cognitive Science.
_______________________________________________
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