title: Ant copy task: include extra lines up to the closing ";"?
body: <p>I have an (see below) Ant copy task which successfully copies all lines that contain the 5 elements within the regexp pattern but these statements which end in ";" sometimes go over one line but these extra lines are not included.  Is their a way to included these extra lines up to the closing ";"?</p>
  
  <pre><code>&lt;copy file="${updates-dir}/updates.sql"
        tofile="${updates-dir}/updates_filtered.sql"&gt;
    &lt;filterchain&gt;
      &lt;linecontainsregexp&gt;
        &lt;regexp pattern="BEGIN;|INSERT INTO|UPDATE|DELETE FROM|COMMIT;"/&gt;
      &lt;/linecontainsregexp&gt;
    &lt;/filterchain&gt;
  &lt;/copy&gt;
  </code></pre>