<div dir="ltr"><div>I guess posts are not editable? I put 'End of run not found' in the subject of my last post but that is not relevant. I was getting 'End of run not found' when I tried to change the regex below and when I tried to match on the prompt.</div><div><br></div><div>------------- Original post is below -------------</div><div><br></div>In <a href="http://panos.pm/" target="_blank">panos.pm</a> (sub ShowConfig), RANCID finds the end of the 'show config' output by matching a bare close bracket from the following regex:<div><br></div><div>if (/^}\s*$|\[edit\]/) {<br></div><div><br></div><div>We have a Panorama with an HTTP server profile that has a payload data section which shows in the configuration like this:</div><div><br></div><div>{</div><div>************ lines of data *************</div><div>************ lines of data *************<br></div><div>************ lines of data *************<br></div><div>}</div><div><br></div><div>So the closing bracket of this data section matches the regex in <a href="http://panos.pm/" target="_blank">panos.pm</a> and RANCID stops collecting the config output there. But this is not the end of the configuration.</div><div><div><div dir="ltr"><div dir="ltr"><div><div><br></div></div><div>I can't think of any way around this since the actual end of the 'show config' command is a bare close bracket.</div><div><br></div><div>There must be a good reason the prompt is not used to match as the end of output?</div><div><br></div><div>Thank you,</div><div><br></div><div>Jake</div></div></div></div></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><span style="color:rgb(0,0,255)"><span style="background-color:rgb(106,168,79)"><i><b><span style="background-color:rgb(255,255,255)"><span><a href="http://www.24hoursofbooty.org/goto/breakingaway" target="_blank"></a></span></span></b><span><span style="background-color:rgb(255,255,255)"><span></span></span></span></i></span></span></div></div></div></div></div></div>