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
It’s available via luarocks: https://luarocks.org/modules/daurnimator/lpeg_patterns