title: Find a list of patterns in a list of string in python
body: <p>given the list of strings</p>
  
  <pre><code>strings = ['abc123', 'bd45', 'ef1234']
  </code></pre>
  
  <p>how can I test if any of these patterns match (all or partially) any of the above strings?</p>
  
  <pre><code>patterns = ['ab','nee', 'yeah']
  </code></pre>
  
  <p>The above should return True.</p>
  
  <p>For example, all these patterns should return true:</p>
  
  <pre><code>patterns1 = ['ab','nee', 'yeah']
  patterns2 = ['ab', '123']
  patterns3 = ['ab','b', '123']
  </code></pre>
  
  <p>while these should return False:</p>
  
  <pre><code>patterns4 = ['abn','nee', 'yeah']
  patterns5 = ['n', 'yes']
  </code></pre>