title: Python Regex search taking too long
body: <p>Following regex comparison is taking too long (> 2 mins).</p>
  
  <pre><code>re.search('^(\S+){2,50}/(\S+){2,50}\-trailing/$', 'test-request/this-is-crashing/')
  </code></pre>
  
  <p>Removing the length limits ({2-50}), solves the issue.</p>
  
  <p>What is the error in the pattern?</p>
  
  <p>env: Ubuntu i5 4GB Python 2.7.3</p>