Skip to content

a Lua 5.1 and 5.2 binding of various regex library APIs (POSIX, PCRE, GNU, Oniguruma and TRE)

License

Notifications You must be signed in to change notification settings

michaeltalyansky/lrexlib

 
 

Repository files navigation

Lrexlib

 by Reuben Thomas (rrt@sc3d.org)
 and Shmuel Zeigerman (shmuz@013net.net)

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

Lrexlib is copyright Reuben Thomas 2000-2015 and copyright Shmuel Zeigerman 2004-2015, 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.


Installation

Lrexlib is installed with LuaRocks, using the command:

luarocks install lrexlib-FLAVOUR

where FLAVOUR is one of PCRE, POSIX, oniguruma, TRE, GNU

About

a Lua 5.1 and 5.2 binding of various regex library APIs (POSIX, PCRE, GNU, Oniguruma and TRE)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 62.6%
  • Lua 34.2%
  • Makefile 3.2%