PHPUnit_Framework_Assert::matchesRegularExpression

Returns a PHPUnit_Framework_Constraint_PCREMatch matcher object.