diff --git a/src/Validation.php b/src/Validation.php index d74786a..cd20033 100644 --- a/src/Validation.php +++ b/src/Validation.php @@ -519,7 +519,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('~(?