lua-users home
lua-l archive

Re: LPeg: named captures within a named capture ?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


* 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

AltStyle によって変換されたページ (->オリジナル) /