lua-users home
lua-l archive

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


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,