[ANN] lpeg_patterns 0.3

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[ANN] lpeg_patterns 0.3

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 <[hidden email]>")
  - 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:
Me: http://daurnimator.com/