title: Clojure multiline regular expression
body: <p>I'm trying to test a string for a basic html pattern and although I use the m (multiline) modifier it only works when the string is a 1-liner</p>
  
  <pre><code>(re-find #"(?im)^&lt;html&gt;.*&lt;body&gt;.*&lt;/body&gt;.*&lt;/html&gt;" c))
  </code></pre>
  
  <p>Fails:</p>
  
  <pre><code>"&lt;html&gt;   &lt;body&gt;   sad   &lt;/body&gt; 
       &lt;/html&gt;"
  </code></pre>
  
  <p>Works:</p>
  
  <pre><code>"&lt;html&gt;   &lt;body&gt;   sad   &lt;/body&gt;      &lt;/html&gt;"
  </code></pre>
  
  <p>What am I doing wrong?</p>