[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LPeg: named captures within a named capture ?
- From: Ico Doornekamp <lua@...>
- Date: Wed, 17 Feb 2010 08:42:34 +0100
* On 2010-02-16 Wolfgang Pupp <wolfgang.pupp@gmail.com> wrote :
> How about this:
>
> space = P" "^0
> token = (R"az")^1
> header = Cg(token, "first") * space * Cg(token, "second")
> headerRedundant = Ct(#Cg(header, "whole") * header)
Ah, of course, the '#', thanks for helping out !
--
:wq
^X^Cy^K^X^C^C^C^C