all-matches-with-captures ( string regexp -- matches )
Regular expressions ยป Regular expression capture groups

Prev:first-match-with-captures ( string regexp -- match/f )
Next:capture ( group match -- slice/f )


Vocabulary
regexp

Inputs
stringa string
regexpa regexp


Outputs
matchesan array of capture results


Word description
Returns captures for every match selected by all-matching-slices, in the same order. Empty matches advance in the same way as ordinary matching.

Errors
Throws duplicate-capture-name when compiling captures for an expression with duplicate names.

Definition