[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: pattern nick name table, would it be handy?
- From: Dirk Laurie <dpl@...>
- Date: Tue, 31 May 2011 16:50:22 +0200
On Tue, May 31, 2011 at 03:23:03PM +0200, steve donovan wrote:
> On Tue, May 31, 2011 at 3:05 PM, Peter Odding <peter@peterodding.com> wrote:
> > Sounds like a good idea! I've created such collections of "building
> > block" patterns myself, though I've been too lazy to put the patterns in
> > a separate module
>
> If it was done nicely, with good documentation, it would make a useful
> resource for LPeg users and could be wrapped up as a LuaRocks package.
>
And if one could make say '|' an alphabetic character, names like |alnum|
reminiscent of grep's [:alnum:] could be used …