Skip to content

Commit

Permalink
issue 719: fixed numeric pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Janusz Paszyński committed Feb 28, 2024
1 parent cdd3922 commit f8e214e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kris/LaravelFormBuilder/RulesParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ protected function numeric()
}

return [
'pattern' => '[-+]?[0-9]*[.,]?[0-9]+',
'pattern' => '[\\-+]?[0-9]*[.,]?[0-9]+',
'title' => $this->getTitle('numeric'),
];
}
Expand Down

0 comments on commit f8e214e

Please sign in to comment.