title: Unable to compile all the patterns within a loop
body: <p>I've written a script in python in combination with <code>re</code> module to scrape some content from few block of texts. My defined pattern can locate and fetch them successfully If I try individually. </p>
  
  <p>However, my question is how can i get them in a single shot using those patterns in a loop? Most importantly all the fields are not available in all block of texts.</p>
  
  <p>I tried (all the patterns below are working ones):</p>
  
  <pre><code>import re
  
  content="""
  Name: Larry King
  Telephone: 514 353-4119 
  Website: http://www.lexor.biz 
  
  Name: Allen Smith
  Telephone: 819 986-3429 
  Website: http://aefournier.com 
  Email: aefournier@videotron.ca 
  
  Name: Paul adams
  Telephone: 1-819-477-6656 
  Email: info@lexor.biz 
  """
  pattern = re.compile(r"Name:\s+(.*)")
  # pattern = re.compile(r"Telephone:\s+(.*)")
  # pattern = re.compile(r"Email:\s+(.*)")
  # pattern = re.compile(r"Website:\s+(.*)")
  for item in pattern.finditer(content):
      print(item.group(1))
  </code></pre>
  
  <p>Output I'm expecting to have for the first container (the email is missing in first block so the blank field should be filled in with <code>N/A</code>):</p>
  
  <pre><code>Larry King 514 353-4119 http://www.lexor.biz N/A
  
  and so on--
  </code></pre>