Fetching contributors…
Cannot retrieve contributors at this time
44 lines (33 sloc) 1.5 KB


by Reuben Thomas (
and Shmuel Zeigerman ( [maintainer]

Lrexlib provides bindings of five regular expression library APIs (POSIX, PCRE, GNU, TRE and Oniguruma) to Lua 5.1 and Lua 5.2. The bindings for TRE and Oniguruma are not currently complete.

Lrexlib is copyright Reuben Thomas 2000-2012 and copyright Shmuel Zeigerman 2004-2012, and is released under the same license as Lua, the MIT license (otherwise known as the revised BSD license). There is no warranty.

Please report bugs and make suggestions to the maintainer, or use the LuaForge trackers and mailing lists.

Thanks to Thatcher Ulrich for bug and warning fixes, and to Nick Gammon for adding support for PCRE named subpatterns.