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
Blogs and organic groups at http://www.ccie.net
Received on Mon Nov 02 2009 - 21:36:13 ART
This archive was generated by hypermail 2.2.0 : Tue Dec 01 2009 - 06:36:28 ART