title: Python regex: matching a parenthesis within parenthesis
body: <p>I've been trying to match the following string:</p>
  
  <pre><code>string = "TEMPLATES = ( ('index.html', 'home'), ('base.html', 'base'))"
  </code></pre>
  
  <p>But unfortunately my knowledge of regular expressions is very limited, as you can see there are two parentheses that need to be matched, along with the content inside the second one
  I tried using <code>re.match("\(w*\)", string)</code> but it didn't work, any help would be greatly appreciated.</p>