lpeg: Parsing Expression Grammars For Lua LPeg is a pattern-matching library for Lua. local lpeg = require "lpeg" local re = require "re" The documentation of these modules are available on Lpeg web site: Lpeg Re