[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [LPeg] How can I make a recursive pattern?
- From: Patrick Donnelly <batrick@...>
- Date: Wed, 27 Jul 2016 11:34:59 -0400
Soni,
On Wed, Jul 27, 2016 at 10:27 AM, Soni L. <fakedme@gmail.com> wrote:
> Sean Conner's incomplete solution uses lpeg.Carg(1) which doesn't work
> recursively.
>
> This is what I'm trying to parse: https://github.com/SoniEx2/MDXML
>
> This is what I currently have:
> [...]
Most people don't have time to grok your code. Can you give a smaller
example/explanation of what you're trying to do? It sounds like you
may want to use group and back captures to carry information in
recursive matching. Not sure though...
--
Patrick Donnelly