Hi all, 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).
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: (($self->TicketObj->Subject =~ /Cron \<root\@blah\> \/usr\/bin\/s3cmd sync \/var\/spool\/blah\/ s3\:\/\/somes3buckethere\//) && ($self->TicketObj->Body =~ /Done\. Uploaded \d* bytes in \d\.\d seconds/)) Thank you, Peter -- Peter Nikolaidis CISSP <https://webportal.isc2.org/custom/CertificationVerificationResults.aspx?FN=Peter&LN=Nikolaidis&CN=453003> , GCFE <https://www.giac.org/certified-professional/peter-nikolaidis/118082> , GCIH <https://www.giac.org/certified-professional/peter-nikolaidis/118082> , GPPA <http://www.giac.org/certified-professional/peter-nikolaidis/118082> , GSNA <http://www.giac.org/certified-professional/peter-nikolaidis/118082> Paradigm Consulting Co. MA:617.517.2940 <(617)%20517-2940> * NH:603.676.7119 <(603)%20676-7119> * VT:802.234.6368 <(802)%20234-6368> http://pa.radigm.com