Re: regex question for bgp

From: James (james@towardex.com)
Date: Tue Oct 12 2004 - 00:18:06 GMT-3


On Mon, Oct 11, 2004 at 08:07:03PM -0700, John Matus wrote:
> ok, so ^5$ is beginning and ending with AS 5 and [0-9]* is any instance of
> another AS with the _ separating both AS's? am i reading that correctly?

Yes.

Also to allow AS5 to prepend itself while allowing another AS behind:

^(5_)+([0-9]_)*$

as always... test it though..

HTH,
-J

-- 
James Jun                                            TowardEX Technologies, Inc.
Technical Lead                        Network Design, Consulting, IT Outsourcing
james@towardex.com                  Boston-based Colocation & Bandwidth Services
cell: 1(978)-394-2867           web: http://www.towardex.com , noc: www.twdx.net


This archive was generated by hypermail 2.1.4 : Sat Nov 06 2004 - 17:11:46 GMT-3