Re: LPeg: named captures within a named capture ?
[
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: 2010年2月17日 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