Translations:Extension:Scribunto/Lua reference manual/1687/en

Returns an iterator function that, each time it is called, returns the next captures from  over string. If  specifies no captures, then the whole match is produced in each call.