You are here

function assertRegExp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \assertRegExp()

Asserts that a string matches a given regular expression.

Parameters

string $pattern:

string $string:

string $message:

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 1214

Code

function assertRegExp($pattern, $string, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertRegExp', func_get_args());
}