lua-users home
lua-l archive

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


> Is there some good reason why the "re" module doesn't support creating a
> fold capture?
> 
> Andrew.

No particular reason.

Adding fold capture to re module is a 1 liner:
https://marc.info/?l=lua-l&m=143860731205707&w=2

But, why stop with fold capture ?
Why not have re modules cover *all* LPeg functionality ?
We are 90% there already ...