title: same regex but different results in Pandas vs. R
body: <p>Consider this simple regex aimed at extracting headlines</p>
  
  <p><code>(\w[\w-]+){2,}</code></p>
  
  <p>Running it in Python (<code>Pandas</code>) vs. R (<code>stringr</code>) gives totally different results!</p>
  
  <p>In <code>stringr</code> the extraction works correctly: see how the <code>'this-is-a-very-nice-test'</code> is parsed correctly</p>
  
  <pre><code>library(stringr)
  &gt; str_extract_all('stackoverflow.stack.com/read/this-is-a-very-nice-test', 
  +                 regex('(\\w[-\\w]+){2,}'))
  [[1]]
  [1] "stackoverflow"            "stack"                    "read"                     "this-is-a-very-nice-test"
  </code></pre>
  
  <p>In Pandas, well, the output is a bit puzzling</p>
  
  <pre><code>myseries = pd.Series({'text' : 'stackoverflow.stack.com/read/this-is-a-very-nice-test'})
  
  myseries.str.extractall(r'(\w[-\w]+){2,}')
  Out[51]: 
               0
       match    
  text 0      ow
       1      ck
       2      ad
       3      st
  </code></pre>
  
  <p>What is wrong here?</p>
  
  <p>Thanks!</p>