Свойство | Type | Description | |
---|---|---|---|
$regex | string |
Méthode | Description | |
---|---|---|
__construct ( $string ) | Regex constructor. | |
__toString ( ) : string | Returns the new regex. | |
addPatternModifier ( string $modifier ) |
Méthode | Description | |
---|---|---|
isRegex ( string $string ) : boolean | Checks whether the string is a regex. | |
toRegex ( string $string ) : string |