Re: OR .. a matter of a regular experssion

From: Nick Matthews <matthn_at_gmail.com>
Date: Wed, 15 Apr 2009 23:23:46 -0400

^([0-9]+)?(_[0-9]+)?(_[0-9]+)?(_[0-9]+)?(_[0-9]+)?$

On Wed, Apr 15, 2009 at 1:35 AM, Naveen <navin.ms_at_gmail.com> wrote:
> One of the tasks I had was to allow AS_PATH whose length was 5 or less. I
> almost forgot the regexp :-(
>
> Anyone wanna try ?
>
>
> On Tue, Apr 14, 2009 at 10:13 PM, Dale Shaw <dale.shaw_at_gmail.com> wrote:
>
>> Hi,
>>
>> On Wed, Apr 15, 2009 at 3:00 PM, <aly.groupstudy_at_gmail.com> wrote:
>> > What do you guys think of taking advantage of the "|"
>> > AS path access list 1
>> > permit _123$|_789$
>> >
>> > So do you think it would work ?
>>
>> I think it would work, but I'd use: _(123|789)$ instead.
>>
>> cheers,
>> Dale
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Wed Apr 15 2009 - 23:23:46 ART

This archive was generated by hypermail 2.2.0 : Mon May 04 2009 - 07:39:12 ART