[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lpeg 0.12: "grammar has too many rules"
- From: Petite Abeille <petite.abeille@...>
- Date: Sat, 21 Sep 2013 17:12:48 +0200
On Sep 20, 2013, at 6:32 AM, Sean Conner <sean@conman.org> wrote:
>> [1] https://github.com/spc476/LPeg-Parsers/blob/master/email.lua
Very nice. Thanks for sharing.
One minor thing though: merge_addr can fail if there is no domain in an address:
merge_addr = function(l,d)
return l .. "@" .. d
end,