function 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

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert/Functions.php, line 2225

Code

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