From: Serhat Aslan (serhatworks@gmail.com)
Date: Sun Jul 29 2007 - 06:26:34 ART
Hi Ben,
They look like same, also I tested them by one by to be sure on a
route server, and got the same results. RouterServers are one of the best
place to test the right regexp :)
Serhat Aslan
On 7/29/07, Ben <bmunyao@gmail.com> wrote:
>
> Hi
>
> Is there any difference between the following regex?
>
> 1. ip as-path access-l 1 permit ^[0-9]+(_[0-9]+)?(_[0-9]+)?$
>
> 2. ip as-path access-l 1 permit ^[0-9]+$
> ip as-path access-l 1 permit ^[0-9]+_[0-9]+$
> ip as-path access-l 1 permit ^[0-9]+_[0-9]+_[0-9]+$
>
>
> TIA
> Ben
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:42 ART