lua-users home
lua-l archive

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


Hi All,

I'm happy to announce the 0.3 release of lpeg_patterns.

lpeg_patterns is a collection of patterns I've written for various
widely used formats
Current sub-modules are: IPv4, IPv6, email addresses, http, language,
phone numbers, uri.

This release includes:
  - New http module
      - Includes parsers for almost every HTTP header.
      - Expect this API to be unstable, it's a significant amount of new code
  - New language module that parses language codes e.g. "zh-Hans-CN"
  - New email.mailbox pattern (name + email like: "Bob <bob@smith.com>")
  - New uri.absolute_uri pattern that does not allow fragments
  - Expose some previously internal uri patterns
  - Fix: Don't percent decode in URIs when it could introduce
ambiguity (thanks @torhve)
  + Lots more. check the git log for the details

Homepage: https://github.com/daurnimator/lpeg_patterns
It's available via luarocks:
https://luarocks.org/modules/daurnimator/lpeg_patterns
Me: http://daurnimator.com/

Enjoy!