title: Using pcregrep for multiple files
body: <p>I am trying to use pcregrep multiline match on a set of files. And those files itself are coming out some searches from the current directory, something like below:</p>
  
  <pre><code>l | grep -P "\d\.mt.+" | cut -d":" -f 2 | cut -d" " -f 2 | xargs
  </code></pre>
  
  <p>So, I want to do a pcregrep on these set of files, and that is a multiline match, as below:</p>
  
  <pre><code>pcregrep -Mi "index(.+\n)+" list of files
  </code></pre>
  
  <p>I don't know, if it's possible to give the list of file names like this.</p>
  
  <p>Can someone help?</p>
  
  <p>Regards,
  Manu</p>