title: Unbalanced parenthesis error with Regex
body: <p>I am using the following regex to obtain all data from a website Javascript data source that is contained within the following character pattern</p>
  
  <pre><code>[[]]);
  </code></pre>
  
  <p>The code I am using is this:</p>
  
  <pre><code>regex = r'\[\[.*?\]]);'
          match2 = re.findall(regex, response.body, re.S)
          print match2
  </code></pre>
  
  <p>This is throwing up an error message of:</p>
  
  <pre><code>    raise error, v # invalid expression
  sre_constants.error: unbalanced parenthesis
  </code></pre>
  
  <p>I think I am fairly safe in assuming that this is being caused by the closing bracket within my regex. How can I define the regex that I want without getting this error?</p>
  
  <p>Thanks</p>