Re: Regular Expression ^$

From: Kambiz Agahian <aussiecert_at_gmail.com>
Date: Fri, 13 Aug 2010 03:07:45 -0700

Prakash,

This regexp (^$) refers to a null string. In BGP AS-PATH logic (again in
BGP) this occurs when you're talking about a route which has been generated
locally within your own AS.

you might wish to visit this:
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094a92.shtml

HTH
Kambiz Agahian

CCIE Instructor/Consultant
M.Eng Telecom, CCIE# 25341, CCSI# 33326, MCSE, MCSA

On Fri, Aug 13, 2010 at 3:02 AM, Sadiq Yakasai <sadiqtanko_at_gmail.com> wrote:

> hmm, I think that will actually match on *nothin*!
>
> If you want to match on *any* then you should be regex'ing something like:
> ^.*$
>
> On Fri, Aug 13, 2010 at 10:57 AM, Prakash Kalsaria <
> kalsaria.prakash_at_gmail.com> wrote:
>
> > Regular expression
> >
> > ^ ----Start of string
> >
> > $ -- End of String
> >
> > what will be matched if i as-path access-list 111 permit ^$
> >
> > every AS OR Any AS
> >
> >
> >
> > Regards;
> > Prakash
> > http://prakashkalsaria.wordpress.com
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> CCIEx2 (R&S|Sec) #19963
>
>
> 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
Received on Fri Aug 13 2010 - 03:07:45 ART

This archive was generated by hypermail 2.2.0 : Wed Sep 01 2010 - 11:20:52 ART