We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 00dddd8 + 404fcf1 commit bf4a94bCopy full SHA for bf4a94b
src/luvi.h
@@ -60,6 +60,7 @@ LUALIB_API int luaopen_zlib(lua_State * const L);
60
#endif
61
#ifdef WITH_LPEG
62
int luaopen_lpeg(lua_State* L);
63
+LUALIB_API int luaopen_re(lua_State *L);
64
65
#ifdef WITH_PLAIN_LUA
66
LUALIB_API int luaopen_bit(lua_State *L);
src/main.c
@@ -87,6 +87,8 @@ static lua_State* vm_acquire(){
87
88
lua_pushcfunction(L, luaopen_lpeg);
89
lua_setfield(L, -2, "lpeg");
90
+ lua_pushcfunction(L, luaopen_re);
91
+ lua_setfield(L, -2, "re");
92
93
94
#ifdef WITH_PCRE2
0 commit comments