protected function match($line) { $matches = []; if (preg_match($this->getRegex(), $line, $matches)) { return $matches; } return []; }