[j-nsp] bgp regexp

Saku Ytti saku at ytti.fi
Wed Aug 29 06:24:33 EDT 2012


On (2012-08-29 12:05 +0300), Mihai Gabriel wrote:

> Path whose second AS number might be 56 or 78:     dot (56 | 78)?
>  The matching is:   1234 78 39  or 794 78 2
> 
> How could this regexp match 1234 78 39 when there is not at least a dot at
> the end of expression?

It should not, JNPR has regexp wrapped around implicit ^$. So I think you
just found bug in documentation.

-- 
  ++ytti


More information about the juniper-nsp mailing list