Iterable<Match> allMatches(String input, [int start = 0])

Returns an iterable of the matches of the regular expression on input.

If start is provided, only start looking for matches at start.

Source

Iterable<Match> allMatches(String input, [int start = 0]);