You are here

function matchesRegularExpression in Zircon Profile 8

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

Returns a PHPUnit_Framework_Constraint_PCREMatch matcher object.

@since Method available since Release 3.0.0

Parameters

string $pattern:

Return value

PHPUnit_Framework_Constraint_PCREMatch

File

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

Code

function matchesRegularExpression($pattern) {
  return call_user_func_array('PHPUnit_Framework_Assert::matchesRegularExpression', func_get_args());
}