title: python regex boolean statement not working
body: <p>My problem is that this simple regex statement with a boolean operator only gives me the result I want when the first item on the left side of the bitwise operator | is present in the sentence. Could someone tell me why it isn't working on the alternative as well?</p>
  
  <pre><code> import re
  
   b = 'this is a good day to die hard'
  
   jeff = re.search('good night (.+)hard|good day (.+)hard', b)
  
   print jeff.group(1)
  </code></pre>