title: Regex - match up to next match
body: <p>I would like to iterate matches over a text, the blocks I want to match start with a number then a tab character.   </p>
  
  <p>My beginning match is <code>^\d+\t</code>, but is there a way to indicate that I want all text including this match up until the next match?</p>
  
  <p>Input data:</p>
  
  <pre><code>1       111.111.111.111
  111.111.111.111
                      Host IP     111.111.111.111
  111.111.111.111
  111.111.111.111         Host IP     TCP             app     11111, 11111, 11111, 11111      Allow
  2       111.111.111.111
  111.111.111.111
  111.111.111.111         Host IP     111.111.111.111
  111.111.111.111         Host IP     TCP             app     11111, 11111, 11111, 11111      Allow
  3       111.111.111.111
  111.111.111.111         Host IP     111.111.111.111
  111.111.111.111
  111.111.111.111
  111.111.111.111         Host IP     TCP             app     11111, 11111, 11111, 11111      Allow
  4       111.111.111.111
  111.111.111.111
  111.111.111.111
  111.111.111.111         Host IP     111.111.111.111
  111.111.111.111         Host IP     TCP             app     11111, 11111, 11111, 11111      Allow
  </code></pre>
  
  <p>I'm using Perl.</p>