original_string: public function hostMatches($host)
      {
          $pattern = '@^' . str_replace('\*', '.*', preg_quote($this->options['_host'], '@')) . '$@';
  
          return preg_match($pattern, $host) !== 0;
      }
code: public function hostMatches($host)
      {
          $pattern = '@^' . str_replace('\*', '.*', preg_quote($this->options['_host'], '@')) . '$@';
  
          return preg_match($pattern, $host) !== 0;
      }
code_tokens: public function hostMatches ( $ host ) { $ pattern = '@^' . str_replace ( '\*' , '.*' , preg_quote ( $ this -> options [ '_host' ] , '@' ) ) . '$@' ; return preg_match ( $ pattern , $ host ) !== 0 ; }
docstring: Check to see if the host matches the route requirements
  
  @param string $host The request's host name
  @return bool Whether or not the host matches any conditions set in for this route.
docstring_tokens: Check to see if the host matches the route requirements