Solar_Test::assertRegex()
public
bool
Solar_Test::assertRegex
( mixed $actual
, mixed $expect
)
Asserts that a value matches a regular expression pattern using » preg_match().
Parameters
(mixed)
$actual
: The variable to test.(mixed)
$expect
: The regular expression pattern.
Returns
(bool) The assertion result.
Description
Asserts that a value matches a regular expression pattern using » preg_match().