From: Cezar Fistik (cfistik@moldovacc.md)
Date: Fri Feb 21 2003 - 09:27:45 GMT-3
Hi all,
Just realized it is not good. The expression 123.*456 would match also
AS1234 and/or AS3456 and so on, that is not the desired result. It also
wouldn't match AS-PATHS when AS456 is before AS123, so here comes a little
improvment:
_123_.*_456|456_.*_123
What do you think?
Cezar Fistik
----- Original Message -----
From: "Cezar Fistik" <cfistik@moldovacc.md>
To: <ccielab@groupstudy.com>
Sent: Friday, February 21, 2003 1:23 AM
Subject: Re:
> Hi,
>
> I don't know if there si an "and" in regular expressions, never heard of
> it. In order to match AS123 AND AS456 you can try using the following
> expressoin:
>
> 123.*456
>
> Regards,
> Cezar Fistik
>
> ----- Original Message -----
> From: "Ram Shummoogum" <rshummoo@ca.ibm.com>
> To: <ccielab@groupstudy.com>
> Sent: Thursday, February 20, 2003 10:34 PM
>
>
> > Hi ALL:
> >
> >
> > I need some help on this BGP regular expression.
> >
> >
> > Make a router only accept routes that has transit AS 123 and AS 456.
The
> > keyword here is "and" and not or.
> >
> >
> > Ex: {34 5 6 456 7 99 123 88}
> > {45 123 89 456 7}
> >
> >
> >
> >
> >
> > I know "OR" is | but what is AND.
> >
> >
> >
> >
> >
> > Thanks for your help
> >
> >
> > RAM
This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:30 GMT-3