private function extractHeader(Suite $suite, Definition $definition)
    {
        $pattern = $definition->getPattern();
        $lines = array();
        $lines[] = strtr(
            '{suite} <def_dimmed>|</def_dimmed> <info>{type}</info> <def_regex>{regex}</def_regex>', array(
                '{suite}' => $suite->getName(),
                '{type}'  => $this->getDefinitionType($definition),
                '{regex}' => $pattern,
            )
        );

        return $lines;
    }