Skip to content

A Lua (5.1 and later) binding of various regex library APIs (POSIX, PCRE, PCRE2, GNU, Oniguruma and TRE)

License

Notifications You must be signed in to change notification settings

rrthomas/lrexlib

Repository files navigation

Lrexlib

by Reuben Thomas ([email protected])
and Shmuel Zeigerman ([email protected])

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-2020 and copyright Shmuel Zeigerman 2004-2020, 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 on GitHub.

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 PCRE2, POSIX, oniguruma, TRE, GNU

Note that the obsolete PCRE version 1 is also supported, as flavour PCRE.

Links

About

A Lua (5.1 and later) binding of various regex library APIs (POSIX, PCRE, PCRE2, GNU, Oniguruma and TRE)

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published