A capture group of a match, ready to display.
Readonly
The group's label: $1, $2, and so on for numbered groups, or the group's name.
$1
$2
The group's text, or "(no match)" when it did not take part in the match.
Whether the group matched.
A capture group of a match, ready to display.