Some of our alarms have a message which contain a new line character.
We have got a NAS profile in auto operator, that matches for example /aaa.*bbb/.
This works correctly for messages like "aaa xxxx bbb", but if there is a new line between aaa and bbb it does not match.
How can I fix this?
Change the regex from:
the command option / flag (?s) tells regex to include the new line white space when using .*