Re: [rt-users] Regex in scrip won't match multi-line strings

2017-03-03 Thread Matt Zagrabelny
On Fri, Mar 3, 2017 at 9:30 AM, Peter Nikolaidis wrote: > Apparently I'm still doing something wrong and regex is kicking my butt. > > Sample message body: > - > * Stopping Asterisk PBX: asterisk > ...done. > * Starting Asterisk PBX:

Re: [rt-users] Regex in scrip won't match multi-line strings

2017-03-03 Thread Peter Nikolaidis
Apparently I'm still doing something wrong and regex is kicking my butt. Sample message body: - * Stopping Asterisk PBX: asterisk ...done. * Starting Asterisk PBX: asterisk ...done. - Patterns I've tried:

Re: [rt-users] Regex in scrip won't match multi-line strings

2017-02-27 Thread Matt Zagrabelny
On Mon, Feb 27, 2017 at 9:48 AM, Peter Nikolaidis wrote: > 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