• Returns an iterator function that, each time it is called, returns the next captures from pattern over the string s.

    Parameters

    • str: string
    • pattern: string

    Returns IterableFunction<LuaTuple<(string | number)[]>>