title: How to combine two re.compile regex in python3?
body: <p>I want to combine two regex's into one line. </p>
  
  <pre><code> soup1=link.findAll('a', attrs={'href': re.compile('^http://')})
   soup2=link.findAll('a', attrs={'href': re.compile("/news/")})
  </code></pre>
  
  <p>I tried <code>(|)</code> sign in a way <code>re.compile('^http://' | '/news/')</code> but all in vain. I need both functionalities (Links containing <code>'http'</code> as well as <code>/news/</code>)</p>