Home

Awesome

A collection of LPEG patterns

Use cases

Modules

core

A small module implementing commonly used rules from RFC-5234 appendix B.1

IPv4

IPv4 "dotted decimal notation" in this document refers to "strict" form (see RFC-6943 section 3.1.1) unless otherwise noted.

IPv6

uri

Parses URIs as described in RFC-3986.

email

http

These patterns should be considered to have non stable APIs.

RFC 4918

RFC 5023

RFC 5323

RFC 5789

RFC 5988

RFC 6265

RFC 6266

RFC 6454

RFC 6455

RFC 6638

RFC 6797

RFC 7034

RFC 7089

RFC 7230

RFC 7231

RFC 7232

RFC 7233

RFC 7234

RFC 7235

RFC 7239

RFC 7469

RFC 7486

RFC 7615

RFC 7639

RFC 7809

RFC 7838

Expect-CT Extension for HTTP

Referrer-Policy header

phone

language

Patterns for definitions from RFC-4646 Section 2.1