title: Regular Expression nested within Positive lookbehind
body: <p>I have the following string (no new lines):</p>
  
  <pre><code>--&amp;1&amp;++&amp;0.0000&amp;--&amp;1&amp;++&amp;0.0597&amp;--&amp;1&amp;__&amp;Lost Packets % (Period)&amp;++&amp;0.0000&amp;--&amp;1&amp;++&amp;0.0000&amp;--&amp;1&amp;++&amp;0.0000&amp;--&amp;1&amp;++&amp;0.0000&amp;--&amp;1&amp;++&amp;0.0000&amp;--&amp;1&amp;__&amp;Maximum Lost Packets % (Period)&amp;++&amp;0.6000&amp;--&amp;1&amp;++&amp;0.7984&amp;--&amp;1&amp;++&amp;0.6000&amp;--&amp;1&amp;++&amp;0.0000&amp;--&amp;1&amp;++&amp;0.5988&amp;--&amp;1&amp;__&amp;Duplicate Packets&amp;++&amp;0&amp;++&amp;0&amp;++&amp;0&amp;++&amp;0&amp;++&amp;0&amp;__
  </code></pre>
  
  <p>Using the following regex in Python:</p>
  
  <pre><code>(?&lt;=&amp;Lost Packets % \(Period\)).*(?=&amp;Maximum Lost Packets % \(Period\))
  </code></pre>
  
  <p>I get the following output:</p>
  
  <pre><code>&amp;++&amp;1.0000&amp;--&amp;1&amp;++&amp;2.0000&amp;--&amp;1&amp;++&amp;3.0000&amp;--&amp;1&amp;++&amp;4.0000&amp;--&amp;1&amp;++&amp;5.0000&amp;--&amp;1&amp;__
  </code></pre>
  
  <p>Now using the following regex <code>(?&lt;=&amp;\+\+&amp;).*?(?=&amp;--&amp;1)</code> on the above output i get the following <strong>1.0000 2.0000 3.0000 4.0000 5.0000</strong></p>
  
  <p>This is the desire output. </p>
  
  <p>My question been, is there a way to combine regex <code>(?&lt;=&amp;Lost Packets % \(Period\)).*(?=&amp;Maximum Lost Packets % \(Period\))</code> and regex <code>(?&lt;=&amp;\+\+&amp;).*?(?=&amp;--&amp;1)</code> into one?</p>
  
  <p>Tried a few different thinks but failed.</p>