From: Anthony Pace (anthonypace@xxxxxxxxxxx)
Date: Tue Jul 09 2002 - 21:58:54 GMT-3
I notice that [0-9]* will math any element with a numeric value but not
"nothing"
Why is it necessary to use ?[0-9]* or _[0-9]* to mean any numeric
element or "nothing"?
Is there any good reference for regular expressions as they are used in
BGP? The CCIE books and Cisco's web site leave alot to the imagination.
Anthony Pace
On Tue, 09 Jul 2002 17:21:23 -0700, "David Luu"
<wicked01@ix.netcom.com> said:
> ^$ = your local AS
>
> At 04:50 PM 7/9/2002 -0700, Robert Yee wrote:
> >Hi all,
> >
> >Am I correct in my interpreation of the following regular expressions?
> >
> >.* = everything
> >^$ = nothing
> >
> >If the above is true, and I have the following in place:
> >
> >neighbor x.x.x.x filter-list 1 out
> >
> >ip as-path access-list 1 permit ^$
> >
> >Does this mean, that I am filtering all outbound prefixes?
> >
> >TIA,
> >
> >Robert
This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:36:24 GMT-3