Variable | Description |
$+ | The most recently opened capture group. |
$^N | The most recently closed capture group. |
@- | The beginning offsets of $& and capture groups. |
@+ | The ending offsets of $& and capture groups. |
Table 1: Not-so-common regex variables.