title: Python RegEx Matching Newline
body: <p>I have the following regular expression:</p>
  
  <pre><code>[0-9]{8}.*\n.*\n.*\n.*\n.*
  </code></pre>
  
  <p>Which I have tested in Expresso against the file I am working with and the match is sucessful.</p>
  
  <p>I want to match the following:</p>
  
  <ul>
  <li>Reference number 8 numbers long</li>
  <li>Any character, any number of times</li>
  <li>New Line</li>
  <li>Any character, any number of times</li>
  <li>New Line</li>
  <li>Any character, any number of times</li>
  <li>New Line</li>
  <li>Any character, any number of times</li>
  <li>New Line</li>
  <li>Any character, any number of times</li>
  </ul>
  
  <p>My python code is:</p>
  
  <pre><code>for m in re.findall('[0-9]{8}.*\n.*\n.*\n.*\n.*', l, re.DOTALL):
         print m
  </code></pre>
  
  <p>But no matches are produced, as said in Expresso there are 400+ matches which is what I would expect.</p>
  
  <p>What I am missing here?</p>