title: Python: list and string matching
body: <p>I have following:</p>
  
  <pre><code>temp = "aaaab123xyz@+"
  
  lists = ["abc", "123.35", "xyz", "AND+"]
  
  for list in lists
    if re.match(list, temp, re.I):
      print "The %s is within %s." % (list,temp)
  </code></pre>
  
  <p>The re.match is only match the beginning of the string, How to I match substring in between too.</p>