diff --git a/src/Validation.php b/src/Validation.php index 3080127..163e7b5 100644 --- a/src/Validation.php +++ b/src/Validation.php @@ -529,7 +529,8 @@ protected function parseRule(string $rule): array $exp = explode(':', $rule, 2); $rulename = $exp[0]; if ($rulename !== 'regex') { - $params = isset($exp[1])? explode(',', $exp[1]) : []; + $params = isset($exp[1]) ? + str_replace("\,", ",", preg_split('~(?