| 1 | <?php |
||
| 7 | class RegexFailed extends Exception |
||
| 8 | { |
||
| 9 | public static function match(string $pattern, string $subject, string $message): self |
||
| 15 | |||
| 16 | public static function replace(string $pattern, string $subject, string $message): self |
||
| 22 | |||
| 23 | public static function groupDoesntExist(string $pattern, string $subject, $group): self |
||
| 27 | |||
| 28 | protected static function trimString(string $string): string |
||
| 36 | } |
||
| 37 |