<div dir="ltr"><div>Hi all,</div><div><br></div><div>I'm trying to automatically resolve tickets that don't require any action. In this example, I receive a backup notification. I know it's a backup script result email based on the subject, and I know the backup was successful (and therefore I can auto-resolve the ticket) if another regex matches the body. When I match against the subject line alone, it works. However, when I try to match against the mutli-line body, it never matches (even though when I run the regex against the string in a test, it matches as expected).</div><div><br></div><div>Are multi-line matches not an option, or do I need to test in another way? This is an extract of the test I am running:</div><div><br></div><div><div>(($self->TicketObj->Subject =~ /Cron \<root\@blah\> \/usr\/bin\/s3cmd sync \/var\/spool\/blah\/ s3\:\/\/somes3buckethere\//) && </div><div><span class="m_-5002710415745388931gmail-Apple-tab-span" style="white-space:pre-wrap"> </span> ($self->TicketObj->Body =~ /Done\. Uploaded \d* bytes in \d\.\d seconds/))</div></div><div><br></div><div><div>Thank you,</div><div><br></div><div>Peter</div>-- <br><div class="m_-5002710415745388931gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr" style="font-size:12.8px">Peter Nikolaidis<br><a href="https://webportal.isc2.org/custom/CertificationVerificationResults.aspx?FN=Peter&LN=Nikolaidis&CN=453003" target="_blank">CISSP</a>, <a href="https://www.giac.org/certified-professional/peter-nikolaidis/118082" target="_blank">GCFE</a>, <a href="https://www.giac.org/certified-professional/peter-nikolaidis/118082" style="font-size:12.8px" target="_blank">GCIH</a><span style="font-size:12.8px">, </span><a href="http://www.giac.org/certified-professional/peter-nikolaidis/118082" style="font-size:12.8px" target="_blank">GPPA</a><span style="font-size:12.8px">, </span><a href="http://www.giac.org/certified-professional/peter-nikolaidis/118082" style="font-size:12.8px" target="_blank">GSNA</a></div><div dir="ltr" style="font-size:12.8px">Paradigm Consulting Co.<br>MA:<a href="tel:(617)%20517-2940" value="+16175172940" target="_blank">617.517.2940</a> * NH:<a href="tel:(603)%20676-7119" value="+16036767119" target="_blank">603.676.7119</a> * VT:<a href="tel:(802)%20234-6368" value="+18022346368" target="_blank">802.234.6368</a> <br><a href="http://pa.radigm.com/" target="_blank">http://pa.radigm.com</a></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>