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]


How about this:
space = P" "^0
token = (R"az")^1
header = Cg(token, "first") * space * Cg(token, "second")
headerRedundant = Ct(#Cg(header, "whole") * header)

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