lua-users home
lua-l archive

Re: Multiple captures with patt/function in LPEG

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


> try this? lpeg.match(((lpeg.Cp() * lpeg.C(lpeg.R('04'))) / print)^1, "4123")
Indeed; that fixes it. Thank you.
Paul.

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