Skip to content

Commit

Permalink
Remove unnecessary escape of . within regexp class
Browse files Browse the repository at this point in the history
  • Loading branch information
bjuppa committed May 17, 2019
1 parent ad74830 commit b0b59a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/forms/partials/inputAttributes.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name="{{ preg_replace('/\.([^\.]+)/', '[$1]', $name) }}"
name="{{ preg_replace('/\.([^.]+)/', '[$1]', $name) }}"
id="{{ $controlId }}"
@if($errors->hasAny($errorsKeys ?? $name))
aria-invalid="true"
Expand Down

0 comments on commit b0b59a7

Please sign in to comment.