title: sed multiline range match
body: <p>I'm trying to do a multi-line sed range match. What I mean by this is that the beginning of the range is itself multiple lines. The source looks like this</p>
  
  <pre><code>&lt;filter-mapping&gt;
          &lt;filter-name&gt;Cache Filter - Resource&lt;/filter-name&gt;
          &lt;url-pattern&gt;*.css&lt;/url-pattern&gt;
  &lt;/filter-mapping&gt;
  &lt;filter-mapping&gt;
          &lt;filter-name&gt;Cache Filter - Resource&lt;/filter-name&gt;
          &lt;url-pattern&gt;*.html&lt;/url-pattern&gt;
  &lt;/filter-mapping&gt;
  &lt;filter-mapping&gt;
          &lt;filter-name&gt;Cache Filter - Resource&lt;/filter-name&gt;
          &lt;url-pattern&gt;*.js&lt;/url-pattern&gt;
  &lt;/filter-mapping&gt;
  &lt;filter-mapping&gt;
          &lt;filter-name&gt;Cache Filter - Resource JSP&lt;/filter-name&gt;
          &lt;url-pattern&gt;*.jsp&lt;/url-pattern&gt;
  &lt;/filter-mapping&gt;
  </code></pre>
  
  <p>And the only uniquely identifying segment to start the range is the entire first three lines, and the end of the range is identified by the entire last two lines.</p>
  
  <p>Is there a way to specify a multiline pattern to begin a range match?</p>