TYPO3
7.6
|
Public Member Functions | |
__construct ($pattern, $options= '', $delimiter=null) | |
__toString () | |
render () | |
renderPattern () | |
isCaseSensitive () | |
getType () | |
prepend ($expr) | |
append ($expr) | |
hasOption ($option) | |
addOption ($option) | |
removeOption ($option) | |
setStartFlag ($startFlag) | |
hasStartFlag () | |
setEndFlag ($endFlag) | |
hasEndFlag () | |
setStartJoker ($startJoker) | |
hasStartJoker () | |
setEndJoker ($endJoker) | |
hasEndJoker () | |
replaceJokers ($replacement) | |
Static Public Member Functions | |
static | create ($expr) |
Public Attributes | |
const | START_FLAG = '^' |
const | END_FLAG = '$' |
const | BOUNDARY = '~' |
const | JOKER = '.*' |
const | ESCAPING = '\\' |
Private Member Functions | |
parsePattern ($pattern) | |
Private Attributes | |
$pattern | |
$options | |
$startFlag | |
$endFlag | |
$startJoker | |
$endJoker | |
__construct | ( | $pattern, | |
$options = '' , |
|||
$delimiter = null |
|||
) |
string | $pattern | |
string | $options | |
string | $delimiter |
Definition at line 85 of file Regex.php.
References Regex\$options, Regex\$pattern, and Regex\parsePattern().
__toString | ( | ) |
addOption | ( | $option | ) |
string | $option |
Definition at line 178 of file Regex.php.
References Regex\hasOption().
append | ( | $expr | ) |
|
static |
string | $expr |
\InvalidArgumentException |
Definition at line 62 of file Regex.php.
Referenced by Expression\__construct().
getType | ( | ) |
{Returns expression type.
Implements ValueInterface.
Definition at line 138 of file Regex.php.
References Expression\TYPE_REGEX.
hasEndFlag | ( | ) |
hasEndJoker | ( | ) |
hasOption | ( | $option | ) |
string | $option |
Definition at line 168 of file Regex.php.
Referenced by Regex\addOption(), and Regex\isCaseSensitive().
hasStartFlag | ( | ) |
hasStartJoker | ( | ) |
isCaseSensitive | ( | ) |
{Returns value case sensitivity.
Implements ValueInterface.
Definition at line 130 of file Regex.php.
References Regex\hasOption().
|
private |
string | $pattern |
Definition at line 301 of file Regex.php.
References Regex\$pattern.
Referenced by Regex\__construct().
prepend | ( | $expr | ) |
removeOption | ( | $option | ) |
render | ( | ) |
{Renders string representation of expression.
Implements ValueInterface.
Definition at line 107 of file Regex.php.
Referenced by Regex\__toString().
renderPattern | ( | ) |
replaceJokers | ( | $replacement | ) |
setEndFlag | ( | $endFlag | ) |
bool | $endFlag |
Definition at line 224 of file Regex.php.
References Regex\$endFlag.
setEndJoker | ( | $endJoker | ) |
bool | $endJoker |
Definition at line 264 of file Regex.php.
References Regex\$endJoker.
setStartFlag | ( | $startFlag | ) |
bool | $startFlag |
Definition at line 204 of file Regex.php.
References Regex\$startFlag.
setStartJoker | ( | $startJoker | ) |
bool | $startJoker |
Definition at line 244 of file Regex.php.
References Regex\$startJoker.
|
private |
Definition at line 43 of file Regex.php.
Referenced by Regex\hasEndFlag(), and Regex\setEndFlag().
|
private |
Definition at line 53 of file Regex.php.
Referenced by Regex\hasEndJoker(), and Regex\setEndJoker().
|
private |
Definition at line 33 of file Regex.php.
Referenced by Regex\__construct().
|
private |
Definition at line 28 of file Regex.php.
Referenced by Regex\__construct(), and Regex\parsePattern().
|
private |
Definition at line 38 of file Regex.php.
Referenced by Regex\hasStartFlag(), and Regex\setStartFlag().
|
private |
Definition at line 48 of file Regex.php.
Referenced by Regex\hasStartJoker(), and Regex\setStartJoker().