Re: BGP Reg Exp

From: Erick B. (erickbe@xxxxxxxxx)
Date: Sun Apr 14 2002 - 19:33:51 GMT-3


   
Both ^1_?[0-9]*$ and ^1_[0-9]*$ will have same result.

The ? is 0 or 1 match, and * is 0 or more sequences of
the pattern.

Take the ? away and you got the same thing... with
this example that is.

Erick

--- Paul Jin <pauljin@yahoo.com> wrote:
> I have seen ^1 ?[0-9]*$
> as the example for AS1 and its directly connected AS
> in a couple of different documentations.
>
> - Paul
>
> Gerd Thuemmler <gerd.thuemmler@berlin.de> wrote:
> Hi,
>
> At 21:22 14.04.2002, glmorris wrote:
> >^1 ?[0-9]*$ AS 1 & its directly connected ASs'
>
> ..hmm, i think that isn't correct. IMHO is that the
> correct way:
>
> ^1_[0-9]*$



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:08 GMT-3