title: Database Seeder not inserting correct data in Laravel
body: <p>I need to seed Reg-Ex patterns in SqLite database. I'm using Laravel 7.
  Here is my seeder:</p>
  <pre><code>&lt;?php
  use App\PhoneValidetionRules;
  use Illuminate\Database\Seeder;
  
  class PhoneValidetionRulesSeeder extends Seeder
  {
  public function run()
  {
      $rules = '
      {
          &quot;iPhone&quot;: &quot;\\biPhone\\b|\\biPod\\b&quot;,
          &quot;BlackBerry&quot;: &quot;BlackBerry|\\bBB10\\b|rim[0-9]+|\\b(BBA100|BBB100|BBD100|BBE100|BBF100|STH100)\\b-[0-9]+&quot;,
          &quot;HTC&quot;: &quot;HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel&quot;,
          &quot;Nexus&quot;: &quot;Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6&quot;
      }';
      $data = [];
      foreach (json_decode($rules, true) as $key=&gt;$value){
          $data[] = [
              'name' =&gt; $key,
              'regex' =&gt; $value
          ];
      }
      PhoneValidetionRules::insert($data);
  }
  }
  </code></pre>
  <p>When I seed it, all <code>\b</code>are converted to <code>\x08</code>. Here is database:</p>
  <p><a href="https://i.stack.imgur.com/xjKGw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xjKGw.png" alt="enter image description here" /></a></p>
  <p>Here is table blueprint:</p>
  <pre><code>Schema::create('phone_validetion_rules', function (Blueprint $table) {
          $table-&gt;id();
          $table-&gt;string('name');
          $table-&gt;string('regex');
      });
  </code></pre>
  <p>If I update regex from PhpStorm manually, It insert correctly.
  How can I insert Reg-Ex to database using Laravel Seeder?</p>