title: How to match this kind of string in Python use re?
body: <p>I have several strings like these:</p>
  
  <pre><code>unicode 0, &lt;runtime error &gt;,0
  unicode 0, &lt;TLOSS error&gt;
  unicode 0, &lt;- Attempt to use MSIL code &gt;
  unicode 0, &lt;ModuleNameA&gt;
  </code></pre>
  
  <p>I am trying to use re to match all the string inside "&lt;" ">"</p>
  
  <p>I tried this :</p>
  
  <pre><code>items = line.split()
  pattern = r"&lt;.+?&gt;"
  match = re.findall(pattern, items[2])
  </code></pre>
  
  <p>But it seems that space can not be deal with..</p>
  
  <p>Could anyone give me some help?</p>
  
  <p>Thank you!</p>