Finding matched parentheses
Peter Haworth
pete at lcsql.com
Fri Jul 26 12:09:02 EDT 2013
On Fri, Jul 26, 2013 at 12:10 AM, Thierry Douez <th.douez at gmail.com> wrote:
> But this one will work and match the first occurence:
>
> if matchChunk(mystring,"(\([^)]*\)).*",tstart,tEnd)
>
> Regards,
>
> Thierry
>
Nice Thierry! Doesn't handle nested parens though, but once again, that
may not be a possibility in the OP's scenario.
Pete
lcSQL Software <http://www.lcsql.com>
More information about the use-livecode
mailing list