|
Previous Page |
Solar_Test |
Next Page |
assertRegex()
public
bool
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().
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _exception()
- _export()
- _ksort()
- apiVersion()
- assertEquals()
- assertFalse()
- assertInstance()
- assertNotEquals()
- assertNotFalse()
- assertNotInstance()
- assertNotNull()
- assertNotRegex()
- assertNotSame()
- assertNotTrue()
- assertNull()
- assertProperty()
- assertRegex()
- assertSame()
- assertTrue()
- assertType()
- dump()
- error()
- fail()
- getAssertCount()
- locale()
- resetAssertCount()
- setup()
- skip()
- teardown()
- todo()