RegExp.lastMatch

機能/意味
マッチング対象文字列を表します
タイプ
RegExpクラスのプロパティ
説明

matches[0] と同じです。