title: Matching multilines using perl -e
body: <p>I have a file with the format</p>
  
  <pre><code> location:
   rome
  
   participants:
   cesar
   pompei
   Sylla
  </code></pre>
  
  <p>And I am trying to invoke <code>perl</code> to get values given a key, for instance my function with parameter <code>participants</code> will return </p>
  
  <pre><code> cesar
   pompei
   Sylla
  </code></pre>
  
  <p>The issue I am facing is that without the option <code>-n</code> it seems none of my regex works.
  For instance I was expecting </p>
  
  <pre><code>&gt; perl -e '/(.*)/ms &amp;&amp; print "$1\n" ' input.txt
  </code></pre>
  
  <p>to print the whole document.</p>