NAS Auto operator regex statement was breaking when there was a new line in the message field.

Document ID : KB000046169
Last Modified Date : 14/02/2018
Show Technical Document Details
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 .*