[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lpeg for one who is regexp-poisoned...
- From: meino.cramer@...
- Date: Wed, 12 Nov 2014 19:33:43 +0100
Sean Conner <sean@conman.org> [14-11-12 18:56]:
> It was thus said that the Great Dirk Laurie once stated:
> > 2014-11-12 5:58 GMT+02:00 <meino.cramer@gmx.de>:
> >
> > > Or is that a typical question of someone, who is still under the bad
> > > influence of regexps?
> >
> > LPEG comes with re.lua, which makes life easier for
> > people who already are proficient with regexps.
>
> I use re.lua extensively in some parsers I wrote:
>
> https://github.com/dlaurie/lua-notes/blob/master/lpeg-brief.txt
>
> Also, there's Dirk's notes about using LPeg, which will help as well:
>
> https://github.com/dlaurie/lua-notes/blob/master/lpeg-brief.txt
>
> -spc
>
Hi Dirk, hi Sean,
I read your notes about LPeg, Dirk, ...and I fear I only understand
half of it (which is for sure due to me...and not based on the notes,
your wrote!)...I am happy to have them.
Using the re-code to learn about how to map "regexp-think" to
"LPeg-think" is a good idea. I will try it ! :)
Best regards,
Meino