public function matchesHost()
 {
     if (null === ($host = $this->map->getHost())) {
         return true;
     }
     if (!$this->map->getHostIsRegexPattern()) {
         return $host === $this->request->getHost();
     }
     return !$this->map->isHostRegexPatternNegate() == preg_match('#' . $host . '#', $this->request->getHost(), $this->patternMatches);
 }