Skip to content

Commit

Permalink
Remove ray
Browse files Browse the repository at this point in the history
  • Loading branch information
chiragchhatrala committed Dec 13, 2024
1 parent 2dd69d1 commit 59eb540
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/app/Service/Forms/FormLogicConditionChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ private function textConditionMet(array $propertyCondition, $value): bool
return $this->checkLength($propertyCondition, $value, '<=');
case 'matches_regex':
try {
ray('matches_regex', $propertyCondition['value'], $value);
return (bool) preg_match('/' . $propertyCondition['value'] . '/', $value);
} catch (\Exception $e) {
ray('matches_regex_error', $e);
Expand Down

0 comments on commit 59eb540

Please sign in to comment.