lua-users home
lua-l archive

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


Op Do., 30 Aug. 2018 om 19:09 het Albert Chan <albertmcchan@yahoo.com> geskryf:

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

Why should 're' cover LPeg functionality when it is already available
without 're'?

IMHO the reason why 're' exists is not as a more convenient
alternative to raw LPeg (for me, it isn't), nor yet as a sop to those
who come to Lua from other languages (when was that ever a
consideration), but as a demonstration that regex is not more powerful
than LPeg.