lpeg_patterns v0.2

I’m happy to announce the 0.2 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, phone numbers, uri.

This release includes:

  • Fixed parsing of IPv6 addresses (thanks spc)
  • IPv6 zone support
  • Stricter uri matching (scheme is now compulsory)
  • “reference” (i.e. relative) URI matching

Homepage: https://github.com/daurnimator/lpeg_patterns

It’s available via luarocks: https://luarocks.org/modules/daurnimator/lpeg_patterns