BGP REGEXP

From: Muzammil Malick <malickmuz_at_gmail.com>
Date: Fri, 25 Jun 2010 19:37:08 +0100

Hi Guys

Can someone help me out here?

I have always struggled with my understanding of regexp but I WANT to
understand them desperately.
I have to hang my head in shame because I have read a lot of posts out there
but still keep getting confused.

For example

the "+" operator. As far as I can understand this means 1 or more instances.
I have seen this used as follows:

^[0-9]+$ Directly connected AS.

So I tested this using home made lab and sure enough it only shows routes
from directly connected AS'
When I look at this I interpret it as any number between 0-9, and this can
be repeated one ore more times.
e.g 1, 2, 3 or 22, 2222
So how does this match 54, or 65?

Thanks

Blogs and organic groups at http://www.ccie.net
Received on Fri Jun 25 2010 - 19:37:08 ART

This archive was generated by hypermail 2.2.0 : Sun Aug 01 2010 - 09:11:38 ART