title: How to handle regex string in JSON file with Python
body: <p>I want to store some regex string in a json file, then use python to parse json file. however, as the regex backslash will be treated as invalid in json. so How should I do. </p>
  
  <pre><code>{
      "key" : "^https://www\.google\.com/search?.+",
      "value" : "google"
  }
  </code></pre>
  
  <p>As you can see above, As regular expression, some fullstop (?.+) will be regex, some will be just fullstop (.), however, this json file will not be thought as valid. So how should I do.    </p>
  
  <p>Thanks!</p>