lua-users home
lua-l archive

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

2016-12-10 6:56 GMT+02:00 Sean Conner <>:

>   Well, I reread the original "challenge" and okay, I need to validate the
> four critical chunks using LPeg.

You had a pure Lua solution. That is trivially an LPeg solution:
pattern captures all its input, passes the capture to a Lua function.