title: checking if year is in the string (4 consecutive digits)
body: <p>How can I find if a strings in a list contains a year (ex. <code>1999</code>).  I guess I would check for four consecutive digits such as: <code>[1-2][0-9][0-9][0-9]</code></p>
  
  <p>How to check that against a list piece?  Here is what I've tried already</p>
  
  <pre><code>for piece in reflist:
      if "\d{4}" in piece:
          # Do something
  
  for piece in reflist:
      if re.match('\d{4}', piece):
          print piece + '\n'
  </code></pre>