Hello all,
I'm trying to build some config policies up with RegEx matching, but for some reason it's not working out as well as I thought
What I need to match is
stuff.....
system {
.....other stuff....
ntp {
server 1.2.3.4;
server 1.2.3.5;
server 1.2.3.6;
}
....other stuff....
So, I created a regex of:
.*system {.*\n.*ntp {.*\n.*server 1.2.3.4;.*\n.*server 1.2.3.5;.*\n.*server 1.2.3.6;.*\n.*}.*
I'm no regex pro, but to me looks like that should cover it?