CloneableFinal
Methods |
public caseSensitive() : self |
public getRegex() : string
|
public static join(self $definitions) : self |
public static oneOf(string $str) : self Match any of the given strings (case-insensitive) |
public static regex(string $regex) : self Match a partial regular expression without starting/ending delimiters, anchors, or flags |
public static string(string $str) : self Match the given string (case-insensitive) |
Properties |
private bool $caseSensitive |
private string $regex |
Methods |
private __construct(string $regex, bool $caseSensitive = false) |
Methods |
public static join(self $definitions) : self |
public static oneOf(string $str) : self Match any of the given strings (case-insensitive) |
public static regex(string $regex) : self Match a partial regular expression without starting/ending delimiters, anchors, or flags |
public static string(string $str) : self Match the given string (case-insensitive) |