From: Yandy Ramirez (yandyr@gmail.com)
Date: Sun Jan 18 2009 - 15:52:50 ARST
you have to look at it this way. Do you want to match 100 by itself and 100
plus its directly connected customers? or just 100 and its directly
connected customers? the "+" matches "one plus more occurrences of the
preceding match" the "*" matches "zero or more occurrences of the preceding
match".
So ^100_[0-9]+$ matches -- 100 200, 100 300 and so on, but will not match
just "100" by itself.
so ^100_[0-9]*$ matches -- 100, 100 200, 100 300 and so on, plus the first
match of 100 by itself.
Hope that helps
------
yandy
On Sat, Jan 17, 2009 at 11:57 PM, CiSco Champ <cischamp2009@gmail.com>wrote:
> Hi Group,
>
> if my requirement to configure as-path that match directly connected AS and
> its neighboring, then which one is right between below:
>
> ^100_([0-9]+)$
> or
> ^100_[0-9]*$
>
> Waiting correction from you
>
> Regards
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:43:38 ARST