Le mercredi 13 juillet 2011 à 15:15 +0100, Alexander Frolkin a écrit :
> Hi,
> 
> > Is back-reference, like (.)( \1)*$, provided by the JunOS AS-path
> > matching engine? (This should match, for instance, ^6453$, ^6453_6453$,
> > ^6453_6453_6453$, and so on...)
> 
> Never tried this, but do you mean something like
> 
>   ([0-9]*)( \1)*
> 
> ?

No, in AS-path context, ASNs are the atoms (thus (.) above).

> 
> This works with egrep:
> 
>   $ echo 123 123 | egrep '^([0-9]*)( \1)*$'
>   123 123
>   $ echo 123 124 | egrep '^([0-9]*)( \1)*$'
>   $
> 

Yes.



mh

> 
> Alex
> 

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to