2013/7/26 Peter Haworth <p...@lcsql.com> > On Fri, Jul 26, 2013 at 12:10 AM, Thierry Douez <th.do...@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. >
Yes, that was my understanding.. There are solutions for recursive pattern matching with PCRE, but never being able to make them work within LC. Regards, Thierry > > Pete > lcSQL Software <http://www.lcsql.com> > ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage _______________________________________________ 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