Replacing Set predicates with Hash

Hi, having recently upgraded from 1.3.x to 2.9.6 I am in the process of replacing the use of deprecated Set with Hash. We heavily rely on both Set’s pseudo XPath support and PCRE matching. One such use I can’t seem to replace with Hash is PCRE key with named element matching. Any ideas on how-to achieve the same outcome with Hash? (see below);

$data = array(
	'Comment' => array(
		'name' => 'Detailed Comments'
	)
);
	
debug(Set::extract($data, "{\bComment\b}.name"));

array(
	'Comment' => 'Detailed Comments'
)
		
debug(Hash::extract($data, 'Comment.name'));

array(
	(int) 0 => 'Detailed Comments'
)