public function getMatches() { preg_match($this->getPattern(), $this->name, $matches); return $matches; }