Lua 5.2 compatible. Replace gfind -> gmatch