I posted this to another list earlier this week, think I missed my intended audience. Apologies if you get this twice.
Have you found any good uses for regex other than class-maps? I recently started using regex to sort access-list elements in bulky ASA policies. Example: sho access-list | i (172\.)(1[68]\.|2[046]\.)(1\.|(99\.))(1[3,5-8]|8[0-4]|41|2[6-7]|118) This works pretty well other than end of string. I find the ASA does not process the $ well in any statement. Has anyone else experienced this? Example: In the above example the last octet can be any of the following: 13 15-18 80-84 26-27 41 118 That being said any configuration I use with $ still allows longer string matches like 131, 151, 801... etc. Has anyone else worked with this and had success with end of string? Thanks, Roger
_______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com
