cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
480
Views
0
Helpful
1
Replies

RME compliance template question

cmarva
Level 4
Level 4

Using LMS 3.2, I've started learning how to use the compliance templates. I have a question regarding the regex matching, and I can't seem to find

an answer in the docs or in the forum posts. I do admit that I have not dug real deep in the forums.

My question is: is there a regex to ignore case? For instance, if I have the line:

clock timezone est -5           in some configs, and

clock timezone EST -5          in others

is there a way to tell the template that upper case and lower case are acceptable matches?

Thanks for any help - chris

1 Reply 1

cmarva
Level 4
Level 4

ok, I got a handle on how the regexes work. It took about 6 or 7 edits of the template but I finally did get it right. fyi, for the above example, the template would look like:

+clock timezone [#est|EST#] -5

chris

Review Cisco Networking for a $25 gift card