original_string: public function matchUrl($pattern)
      {
          if ($this->matchValue($this->getUrl(), $pattern)) {
              return $this->getUrl();
          }
  
          return false;
      }
code: public function matchUrl($pattern)
      {
          if ($this->matchValue($this->getUrl(), $pattern)) {
              return $this->getUrl();
          }
  
          return false;
      }
code_tokens: public function matchUrl ( $ pattern ) { if ( $ this -> matchValue ( $ this -> getUrl ( ) , $ pattern ) ) { return $ this -> getUrl ( ) ; } return false ; }
docstring: Check if the url matches the given pattern.
  
  @param string $pattern Pattern to match.
  
  @return bool|null|string Url value if pattern matches, otherwise false.
docstring_tokens: Check if the url matches the given pattern .