On Mon, Jul 29, 2013 at 9:07 AM, <dunb...@aol.com> wrote:

> I tired your script on the string:
>
>
>
> aa(ss)(xx)(yy)
>
>
>
> it only returned the parens bracketing "ss"
>

I Think that's what he wants to do - just find the position of the first
set of parentheses, taking nested parens into account.  But not sure.....

Personally, I'd use the regex that Thierry posted a couple of days back.
 No recursion involved and one line of code does the job.

Pete
lcSQL Software <http://www.lcsql.com>
_______________________________________________
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