public function pattern()
    {
        $patterns = func_get_args();

        foreach (func_get_args() as $pattern) {
            $this->patterns[] = $this->pattern_to_regex($pattern);
        }

        return $this;
    }
public function pattern()
    {
        $patterns = func_get_args();

        foreach (func_get_args() as $pattern) {
            $this->patterns[] = $this->pattern_to_regex($pattern);
        }

        return $this;
    }
public function pattern ( ) { $ patterns = func_get_args ( ) ; foreach ( func_get_args ( ) as $ pattern ) { $ this -> patterns [ ] = $ this -> pattern_to_regex ( $ pattern ) ; } return $ this ; }
Mimics ant pattern matching.

@see http://ant.apache.org/manual/dirtasks.html#patterns
@return pakeFinder
Mimics ant pattern matching .