[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [LPeg] How can I make a recursive pattern?
- From: franktom <franktom@...>
- Date: Thu, 15 Dec 2016 18:00:03 +0800
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.
>
>
when I read your answer,That's goods,But
I think there a better resolver?