lua-users home
lua-l archive

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


>
> Maybe this would be a nice addition for LPeg 0.8? That is, allow patterns 
> created with lpeg.P(function() ... end) to return zero or more captures 
> after the new index?

LPeg 0.8 will have something a little more general. Not only
functional patterns will be able to create new captures, but they
also will be able to receive captures (more or less like p/f does
currently, but in "match-time").

-- Roberto