title: Find last match with python regular expression
body: <p>I want to match the last occurrence of a simple pattern in a string, e.g.</p>
  
  <pre><code>list = re.findall(r"\w+ AAAA \w+", "foo bar AAAA foo2 AAAA bar2")
  print "last match: ", list[len(list)-1]
  </code></pre>
  
  <p>However, if the string is <em>very</em> long, a huge list of matches is generated. Is there a more direct way to match the second occurrence of " AAAA ", or should I use this workaround?</p>