note
hippo
<p>I would try removing (or commenting out if you prefer) the <c>$* = 1</c> line and add the <c>/m</c> modifier to the match inside the last while. That's only a guess but it would make sense for the . not to match the newline here, I think.</p>
<code>while (/(^|(\r?\n))[^0-9]*((\d\d\d).*)$/mg) {</code>
<p>Back your script up before making any changes, of course.</p>
<p>How long have you had that script? It is in quite an old style.</p>
1060392
1060392