perl-5.38.0
$LAST_PAREN_MATCH
$+

The text matched by the highest used capture group of the last successful search pattern. (See "Scoping Rules of Regex Variables"). It is logically equivalent to the highest numbered capture variable ($1, $2, ...) which has a defined value.

最後に検索されたパターンの最大の使われたの捕捉グループにマッチした文字列。 ("Scoping Rules of Regex Variables" を参照してください)。 これは、定義されている最大の番号の捕捉変数 ($1, $2, ...) と論理的に等価です。

This is useful if you don't know which one of a set of alternative patterns matched. For example:

わからないような場合に使うと便利です。 例えば:

    /Version: (.*)|Revision: (.*)/ && ($rev = $+);

This variable is read-only, and its value is dynamically scoped.

この変数は読み込み専用で、その値は動的スコープを持ちます。

Mnemonic: be positive and forward looking.

記憶法: ポジティブで前向き。