python regex carriage return : <p>please could you help with the regex to get everything unto the ";"..</p>

<pre><code>window.egfunc = {
  name: "test name",
  type: "test type",
  storeId: "12345"
};
</code></pre>

<p>I have the following which works when all the data would be on one line, but as soon as there are returns, it won't work...</p>

<pre><code>window.egfunc\s+=\s+(.*);
</code></pre>
