class Regex implements ValueInterface
Constants
| START_FLAG | |
| END_FLAG | |
| BOUNDARY | |
| JOKER | |
| ESCAPING |
Methods
| static Regex | create(string $expr) | |
| __construct(string $pattern, string $options = '', string $delimiter = null) | ||
| string | __toString() | |
| string | render() Renders string representation of expression. | |
| string | renderPattern() Renders string representation of pattern. | |
| bool | isCaseSensitive() Returns value case sensitivity. | |
| int | getType() Returns expression type. | |
| ValueInterface | prepend(string $expr) | |
| ValueInterface | append(string $expr) | |
| bool | hasOption(string $option) | |
| Regex | addOption(string $option) | |
| Regex | removeOption(string $option) | |
| Regex | setStartFlag(bool $startFlag) | |
| bool | hasStartFlag() | |
| Regex | setEndFlag(bool $endFlag) | |
| bool | hasEndFlag() | |
| Regex | setStartJoker(bool $startJoker) | |
| bool | hasStartJoker() | |
| Regex | setEndJoker(bool $endJoker) | |
| bool | hasEndJoker() | |
| Regex | replaceJokers(array $replacement) |
Details
static Regex create(string $expr)
__construct(string $pattern, string $options = '', string $delimiter = null)
string __toString()
string render()
Renders string representation of expression.
string renderPattern()
Renders string representation of pattern.
bool isCaseSensitive()
Returns value case sensitivity.
int getType()
Returns expression type.
Please login to continue.