Documentation

PregMatch
in package
implements Constraint

Matches against a PCRE regex

Based on PHPUnit_Framework_Constraint_PCREMatch

Tags
author

James Pepin james@jamespepin.com

category

Horde

copyright

2009-2017 Horde LLC

license

http://www.horde.org/licenses/bsd BSD

Interfaces, Classes, Traits and Enums

Constraint
Interface for constraints.

Table of Contents

$regex  : mixed
__construct()  : mixed
evaluate()  : mixed

Properties

Methods

__construct()

public __construct(string $regex) : mixed
Parameters
$regex : string
Return values
mixed

evaluate()

public evaluate(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

Search results