title: Making letters uppercase using re.sub in python?
body: <p>In many programming languages, the following</p>
  
  <p>find <code>foo([a-z]+)bar</code> and replace with <code>GOO\U\1GAR</code> </p>
  
  <p>will result in the entire match being made uppercase. I can't seem to find the equivalent in python; does it exist?</p>