[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [LPeg] How can I make a recursive pattern?
- From: William Ahern <william@...>
- Date: Wed, 27 Jul 2016 09:43:02 -0700
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