title: Python BeautifulSoup find using re.compile for end of string
body: <p>Using the following example, how do I utilize BeautifulSoup to find (or select) the SECOND INPUT element.</p>
  
  <pre><code>&lt;form&gt;
  &lt;input id="a:b:c" ...&gt;
  &lt;input id="a:b" ...&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>I tried to use .find('input', id=re.compile('b')) which of course gives me the FIRST element.</p>
  
  <p>I am looking for a way to get directly to the second, without using FindAll and iterate.</p>
  
  <p>Is there a way to improve the Regular Expression?</p>
  
  <p>Any other ideas?</p>