Lua string patterns implemented in Lua + FFI, for LuaJIT.