original_string: public function pattern()
      {
          $patterns = func_get_args();
  
          foreach (func_get_args() as $pattern) {
              $this->patterns[] = $this->pattern_to_regex($pattern);
          }
  
          return $this;
      }
code: public function pattern()
      {
          $patterns = func_get_args();
  
          foreach (func_get_args() as $pattern) {
              $this->patterns[] = $this->pattern_to_regex($pattern);
          }
  
          return $this;
      }
code_tokens: public function pattern ( ) { $ patterns = func_get_args ( ) ; foreach ( func_get_args ( ) as $ pattern ) { $ this -> patterns [ ] = $ this -> pattern_to_regex ( $ pattern ) ; } return $ this ; }
docstring: Mimics ant pattern matching.
  
  @see http://ant.apache.org/manual/dirtasks.html#patterns
  @return pakeFinder
docstring_tokens: Mimics ant pattern matching .