title: Python Regex Capture Only Certain Text
body: <p>I am trying to find functionality in python similar to the Ruby function scan. My goal is to grab all the text in-between two curly braces in a list. If there are multiple pairs of curly braces in the string, I want to have multiple entries in the list.</p>
  
  <p>When I run this code:</p>
  
  <pre><code> match = re.search(r'\{(.+)\}', request.params['upsell'])
   print match.group()
  </code></pre>
  
  <p>I match the right text. However, what is captured includes the curly braces. I don't want to include this text, I want to include everything in between, but not the curly braces Thanks!</p>