6.91. kink/regex/GROUP

6.91.1. type group

A `group` is a slice in the matched text.

A `group` is either the entire region of the match result, or a region which a named capturing group matches.

Example:

6.91.1.1. G.slice

`slice` returns the sliced str of the text where the group matches.

6.91.1.2. G.from

`from` returns the pos from which the group matches in the text.

6.91.1.3. G.to

`to` returns the pos to which the group matches in the text.

6.91.2. GROUP.is?(Val)

`is?` returns whether `Val` is a group val.