[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Can LPeg parse PNG?
- From: Sean Conner <sean@...>
- Date: Sat, 10 Dec 2016 01:45:02 -0500
It was thus said that the Great Dirk Laurie once stated:
> 2016-12-10 6:56 GMT+02:00 Sean Conner <sean@conman.org>:
>
> > 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.
Well, you know ... moving goal posts and all that.
-spc