---@diagnostic disable: missing-return, lowercase-global
---@meta

---@param s string
---@param pattern string
---@return function iterator
---Returns an iterator function for finding pattern matches in a string. Alias for the standard library function string.gmatch.
function gmatch(s, pattern) end
