Geoff-

Thursday, July 25, 2013, 9:53:47 PM, you wrote:

> regex is notoriously unable to handle recursion. To see endless heated
> debate, search the web for how to parse HTML using regex.

To be fair, the blame is mostly on HTML, not regex. But there's enough
blame to go around. No worries.

> Here is a fairly short function that searches for the outermost matched
> pairs of characters.

"outermost" is different from matched. You might want to find the
matching parenthesis for "lineDelim()" in

put stripHTML(
    url("http:://www.www.com"),
    lineDelim("/n"
    ),
    cos(theta)
)

-- 
-Mark Wieder
 mwie...@ahsoftware.net


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to