From: Marakalas (marakalas@yahoo.com)
Date: Fri May 13 2005 - 06:36:58 GMT-3
Is there a document on the cd (univercd) about the
regexp?
--- John Matus <john_matus@hotmail.com> wrote:
> 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]+$
> > > > >
> > > > >
>
This archive was generated by hypermail 2.1.4 : Fri Jun 03 2005 - 10:11:58 GMT-3