title: Parsing XML in Python with regex
body: <p>I'm trying to use regex to parse an <code>XML</code> file (in my case this seems the simplest way).</p>
  
  <p>For example a line might be:</p>
  
  <pre><code>line='&lt;City_State&gt;PLAINSBORO, NJ 08536-1906&lt;/City_State&gt;'
  </code></pre>
  
  <p>To access the text for the tag City_State, I'm using:</p>
  
  <pre><code>attr = re.match('&gt;.*&lt;', line)
  </code></pre>
  
  <p>but nothing is being returned.</p>
  
  <p>Can someone point out what I'm doing wrong?</p>