title: R's equivalent of Python's re.findall
body: <p>I am trying to get all matches for a RegExp from a string but apparently it's not so easy in R, or I have overlooked something. Truth be told, it's really confusing and I found myself lost among all the options: <code>str_extract</code>, <code>str_match</code>, <code>str_match_all</code>, <code>regexec</code>, <code>grep</code>, <code>gregexpr</code>, and who knows how many others.</p>
  
  <p>In reality, all I'm trying to accomplish is simply (in Python):</p>
  
  <pre><code>&gt;&gt;&gt; import re
  &gt;&gt;&gt; re.findall(r'([\w\']+|[.,;:?!])', 'This is starting to get really, really annoying!!')
  ['This', 'is', 'starting', 'to', 'get', 'really', ',', 'really', 'annoying', '!', '!']
  </code></pre>
  
  <p>The problem of the functions mentioned above is that either they return one match, or they return no match at all.</p>