Regex
class Regex implements Stringable (View source)
Methods
__construct(string $pattern)
Create a new regex rule instance.
string
__toString()
Convert the rule to a validation string.
Details
__construct(string $pattern)
Create a new regex rule instance.
string
__toString()
Convert the rule to a validation string.