protected function setName(Release $release, $line)
	{
		$matches = [];
		if (preg_match('/([\w\.-]{1,})/', $line, $matches))
		{
			$release->setName($matches[0]);
		}
	}
protected function setName(Release $release, $line)
	{
		$matches = [];
		if (preg_match('/([\w\.-]{1,})/', $line, $matches))
		{
			$release->setName($matches[0]);
		}
	}
protected function setName ( Release $ release , $ line ) { $ matches = [ ] ; if ( preg_match ( '/([\w\.-]{1,})/' , $ line , $ matches ) ) { $ release -> setName ( $ matches [ 0 ] ) ; } }
Extracts and sets the Release name.

@param Release $release
@param string  $line
Extracts and sets the Release name .