public function match($value, $pattern, $message = '')
    {
        $this->assertion->setActual($value);

        return $this->assertion->to->match($pattern, $message);
    }
public function match($value, $pattern, $message = '')
    {
        $this->assertion->setActual($value);

        return $this->assertion->to->match($pattern, $message);
    }
public function match ( $ value , $ pattern , $ message = '' ) { $ this -> assertion -> setActual ( $ value ) ; return $ this -> assertion -> to -> match ( $ pattern , $ message ) ; }
Perform a pattern assertion.

@param string $value
@param string $pattern
@param string $message
Perform a pattern assertion .