Lrexlib provides bindings of five regular expression library APIs (POSIX, PCRE, PCRE2, 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 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.
Lrexlib is installed with LuaRocks, using the command:
luarocks install lrexlib-FLAVOUR
where FLAVOUR is one of PCRE, PCRE2, POSIX, oniguruma, TRE, GNU
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。