Class ToMatch
Verify match the regular expression.
$matcher = new ToMatch('/foo/');
$matcher->match('foobar'); //return true
$matcher->match('bar'); //return false
- expect\matcher\ToMatch implements expect\matcher\ReportableMatcher
Final
Namespace: expect\matcher
Copyright: Noritaka Horio holy.shared.design@gmail.com
Author: Noritaka Horio holy.shared.design@gmail.com
Located at matcher/ToMatch.php
Namespace: expect\matcher
Copyright: Noritaka Horio holy.shared.design@gmail.com
Author: Noritaka Horio holy.shared.design@gmail.com
Located at matcher/ToMatch.php
public
|
|
public
boolean
|
|
public
|
#
reportFailed(
Report the reason for the failure of positive evaluation. |
public
|
#
reportNegativeFailed(
Report the reason for the failure of negative evaluation. |