Skip to content

Commit

Permalink
Fixes #2. Need an extra backslash for regex
Browse files Browse the repository at this point in the history
  • Loading branch information
drehimself committed Mar 12, 2018
1 parent 61f6f16 commit 2b63214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/seeds/DataRowsTableSeederCustom.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function run()
'edit' => 1,
'add' => 1,
'delete' => 1,
'details' => '{"validation":{"rule":"required|regex:/^\\d*(\\.\\d{1,2})?$/"}}',
'details' => '{"validation":{"rule":"required|regex:/^\\\d*(\\\.\\\d{1,2})?$/"}}',
'order' => 5,
])->save();
}
Expand Down

1 comment on commit 2b63214

@cchau-tsgrp
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you SIR. Working nicely.

Please sign in to comment.