Re: regex for as-path

From: John Matus (john_matus@hotmail.com)
Date: Thu May 12 2005 - 20:02:48 GMT-3


yeah, i started doubting myself there for a moment, but i've been wrong b4
and will be wrong again :-)

>From: san <san.study@gmail.com>
>Reply-To: san <san.study@gmail.com>
>To: John Matus <john_matus@hotmail.com>
>Subject: Re: regex for as-path
>Date: Thu, 12 May 2005 12:47:07 -0700
>
>John,
>
>I just tested, I was wrong. Both yields the same result.
>
>[]+ => means one digit or more and not two or more
>* => means zero or more
>
>/Anantha
>
>On 5/11/05, John Matus <john_matus@hotmail.com> wrote:
> > can someone else verify San's reply for me? just want to make sure.
> >
> > >From: san <san.study@gmail.com>
> > >Reply-To: san <san.study@gmail.com>
> > >To: John Matus <john_matus@hotmail.com>
> > >Subject: Re: regex for as-path
> > >Date: Wed, 11 May 2005 11:57:09 -0700
> > >
> > >John ,
> > >
> > >Both are different.
> > >
> > >*....will match for "54 5 7 200"
> > >
> > >+ ...will not match for above
> > >+ ...will match only for "54 55 77 xx xx"
> > >
> > >/SAN
> > >
> > >On 5/11/05, John Matus <john_matus@hotmail.com> wrote:
> > > > do the following expression accomplish the same?
> > > >
> > > > ip as-path access-list 5 permit ^54_[0-9]*_[0-9]*_[0-9]*$
> > > >
> > > > AND
> > > >
> > > > ip as-path access-list 5 permit ^54_[0-9]+$
> > > > ip as-path access-list 5 permit ^54_[0-9]+_[0-9]+$
> > > > ip as-path access-list 5 permit ^54_[0-9]+_[0-9]+_[0-9]+$
> > > >
> > > > _________________________________________________________________
> > > > Dont just search. Find. Check out the new MSN Search!
> > > > http://search.msn.click-url.com/go/onm00200636ave/direct/01/
> > > >
> > > >
>_______________________________________________________________________
> > > > Subscription information may be found at:
> > > > http://www.groupstudy.com/list/CCIELab.html
> > > >
> >
> > _________________________________________________________________
> > Express yourself instantly with MSN Messenger! Download today - it's
>FREE!
> > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> >
> >



This archive was generated by hypermail 2.1.4 : Fri Jun 03 2005 - 10:11:57 GMT-3