Extract the author from a blame line.
string $line Line to parse.:
mixed string or false if impossible to recover.
Overrides VersionControl::getAuthor
protected function getAuthor($line) { $blameParts = []; preg_match('|\\s*([^\\s]+)\\s+([^\\s]+)|', $line, $blameParts); if (isset($blameParts[2]) === false) { return false; } return $blameParts[2]; }