Documentation

InlineParserMatch
in package

FinalYes

Table of Contents

Properties

$caseSensitive  : bool
$regex  : string

Methods

caseSensitive()  : self
join()  : self
oneOf()  : self
Match any of the given strings (case-insensitive)
regex()  : self
Match a partial regular expression without starting/ending delimiters, anchors, or flags
string()  : self
Match the given string (case-insensitive)
__construct()  : mixed

Properties

Methods

join()

public static join(self ...$definitions) : self
Parameters
$definitions : self
Return values
self

oneOf()

Match any of the given strings (case-insensitive)

public static oneOf(string ...$str) : self
Parameters
$str : string
Return values
self

regex()

Match a partial regular expression without starting/ending delimiters, anchors, or flags

public static regex(string $regex) : self
Parameters
$regex : string
Return values
self

string()

Match the given string (case-insensitive)

public static string(string $str) : self
Parameters
$str : string
Return values
self

__construct()

private __construct(string $regex[, bool $caseSensitive = false ]) : mixed
Parameters
$regex : string
$caseSensitive : bool = false

        
On this page

Search results