03-30-2007 02:04 PM
Can someone provide a site, or post here some detailed examples of how to use regular expressions in baseline config? Everything that I have found is lacking in detail and explaination. Specifically I am trying to write an expression that will cover both "no ip domain-lookup" and "no ip domain lookup" Thanks!
Solved! Go to Solution.
03-30-2007 02:14 PM
First, the regexp you need:
[#no ip domain[- ]lookup#]
As for guides, I highly recommend the O'Reilly book, Mastering Regular Expressions. There are also plenty of online references. Since we use the Perl-compatible suite of regular expressions, something like http://www.perl.com/doc/manual/html/pod/perlre.html will be helpful.
03-30-2007 02:14 PM
First, the regexp you need:
[#no ip domain[- ]lookup#]
As for guides, I highly recommend the O'Reilly book, Mastering Regular Expressions. There are also plenty of online references. Since we use the Perl-compatible suite of regular expressions, something like http://www.perl.com/doc/manual/html/pod/perlre.html will be helpful.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide