Fixed string.gmatch() and lua_gmatch_next(), works OK