Mark Wieder mwieder at
Mon Nov 27 12:43:11 EST 2006


> Depending on the source, for most HTML pages an extraction function should
> look for unmatched tags and tags that appear between comment tags (thus not
> part of the visible page)

> Unmatched tags can be detected by:

> [1] if the start tag is in any of the extracted segments
> [2] if the end tag is in the 'pRawText' after extraction

> Hope this adds to the thread

Thanks. In my case, the error condition is met by returning an empty
string, but yes, in a more rigorous case the error checking would
indeed be useful. And I like the conciseness of your matchChunk

-Mark Wieder
 mwieder at

More information about the Use-livecode mailing list