[prev in list] [next in list] [prev in thread] [next in thread]
List: lua-l
Subject: Re: [LPeg] How can I make a recursive pattern?
From: franktom <franktom () 163 ! com>
Date: 2016-12-15 10:01:26
Message-ID: 20161215100126.GB17656 () localhost ! localdomain
[Download RAW message or body]
On Wed, Jul 27, 2016 at 01:45:33PM -0300, Soni L. wrote:
>
>
> On 27/07/16 01:43 PM, William Ahern wrote:
> > On Wed, Jul 27, 2016 at 11:27:35AM -0300, Soni L. wrote:
> > > Sean Conner's incomplete solution uses lpeg.Carg(1) which doesn't work
> > > recursively.
> > >
> > <snip>
> >
> > The answer is lpeg.V and the table mode of lpeg.P.
> >
> > See http://www.inf.puc-rio.br/~roberto/lpeg/#grammar
> >
> >
> How would I use it here and get rid of lpeg.Carg(1)?
>
> --
> Disclaimer: these emails may be made public at any given time, with or without \
> reason. If you don't agree with this, DO NOT REPLY.
>
this is a test from ...
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic