public function match($pattern, $subject, &$matches = null, $flags = 0, $offset = 0)
    {
        return $this->sandbox->run('preg_match', [$pattern, $subject, &$matches, $flags, $offset], $this->throw);
    }
public function match($pattern, $subject, &$matches = null, $flags = 0, $offset = 0)
    {
        return $this->sandbox->run('preg_match', [$pattern, $subject, &$matches, $flags, $offset], $this->throw);
    }
public function match ( $ pattern , $ subject , & $ matches = null , $ flags = 0 , $ offset = 0 ) { return $ this -> sandbox -> run ( 'preg_match' , [ $ pattern , $ subject , & $ matches , $ flags , $ offset ] , $ this -> throw ) ; }
Same as \preg_match but throws exception when an invalid pcre string is given

@link http://php.net/manual/en/function.preg-match.php
Same as \ preg_match but throws exception when an invalid pcre string is given