title: Python-Regular Expression
body: <p>Given this code:</p>
  
  <pre><code>match = re.search(r'b\w+', 'foobar') =&gt;  found, match.group() == "bar"
  </code></pre>
  
  <p>I think that the match group should be "foobar" since there are no alphanumeric characters that appear in front or behind it. Why is it not so?</p>