title: Escaping Characters Regex
body: <p>I've been picking my brain on how to get the 2 integers from the following string:</p>
  
  <pre><code>:{\"page_type\":16,\"actor_id\":100010050258799,\"story_id\":166366493708358,\"a
  </code></pre>
  
  <p>I can write the regex fine, but it's escaping that it causing some headaches.</p>
  
  <p>What characters do I need to escape to get this to work with <code>re.match</code></p>
  
  <p>For example, how do I place the <code>"</code> in the following:</p>
  
  <pre><code>re.match("actor_id\\")
  </code></pre>
  
  <p>I've tried <code>\\\\""</code> to no avail.</p>
  
  <p>It's a JSON string, but JSON decode is not an option in this case because it's deep within sourcecode that's not easily accessible by traversing the DOM. So I'm stuck with regex.</p>