Re: Invisible Char. - TextCommand
Re: Invisible Char. - TextCommand
- Subject: Re: Invisible Char. - TextCommand
- From: Emmanuel <email@hidden>
- Date: Fri, 8 Jul 2005 18:06:10 +0200
At 4:33 PM +0100 7/8/05, has wrote:
Michael Ghilissen wrote:
I have a script that pulls a xml page, which I am parsing using
regex in TextCommands to extract the text part of it:
set theResult to find text
"<title>([^<]*)</title>([^<]*)<link>([^<]*)</link>([^<]*)<description>([^<]*)</description>"
in theText using {"\\n\\1\\n\\5\\n\\n"} regexpflag {"EXTENDED"}
with regexp, all occurrences and string result
That's Satimage's 'find text' command. Here's the equivalent in TextCommands:
For those who don't know, Satimage osax has "find text" and "change",
which work on ASCII, but Smile has "ufind text" and "uchange", which
work on Unicode (UTF-16 as well as UTF-8.)
Emmanuel
_______________________________________________
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