chunks
ErrorsCollection

chunks

Synthesised documentation from type/Match

From type/Match

See Original text in context

Returns a list of pairs, with the index or submatch name as key and the submatches as values. The list is ordered by starting position of the submatches.

Those parts of the string that were not matched by submatches are interleaved with the other pairs, with the string ~ as key.