Re: Difference between "?" and "*" in BGP regular expression

From: Alex (alex.arseniev@gmail.com)
Date: Mon Feb 27 2006 - 07:27:22 GMT-3


? - means none or one of preceding chars shall be present
* - means none or any positive number of preceding chars shall be present
() - denotes sub-AS within confederation. Normall private AS numbers are
used for sub-AS numbering.
See
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#asregexp
for more info.
HTH
Cheers
Alex

----- Original Message -----
From: "Evgeniy Voloshin" <e.voloshin@equant.ru>
To: <ccielab@groupstudy.com>
Sent: Monday, February 27, 2006 7:56 AM
Subject: Difference between "?" and "*" in BGP regular expression

> Hi group,
>
> 1. can you explain me difference between "?" and "*" for examlpe
> ^254_([0-9]*)$
> ^254(_[0-9]+)?$
>
> 2. why I must use parenthesis "(" and ")" in my regexp? Is it for private
> AS only?
>
> ---
> WBR,
> Yev.
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Wed Mar 01 2006 - 11:28:18 GMT-3