title: Python Beautiful Soup Extracting HTML Meta Data
body: <p>I am getting some odd behavior that I do not quite understand. I am hoping someone can explain what is going on. </p>
  
  <p>Consider this metadata:</p>
  
  <pre><code>&lt;meta property="og:title" content="This is the Tesla Semi truck"&gt;
  &lt;meta name="twitter:title" content="This is the Tesla Semi truck"&gt;
  </code></pre>
  
  <p>This line successfully finds ALL "og" properties and returns a list. </p>
  
  <pre><code>opengraphs = doc.html.head.findAll(property=re.compile(r'^og'))
  </code></pre>
  
  <p>However, this line fails to do the same thing for the twitter cards. </p>
  
  <pre><code>twitterCards = doc.html.head.findAll(name=re.compile(r'^twitter'))
  </code></pre>
  
  <p>Why does the first line successfully find all the "og" (opengraph cards), but fail to find the twitter cards?   </p>