I like to use this:

^[0-9]+$
^[0-9]+_[0-9]+$
^[0-9]+_[0-9]+_[0-9]+$

-Daniel

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of james edwards
Sent: Friday, June 13, 2008 1:41 PM
To: [email protected]
Subject: [c-nsp] Expression to match 1, 2, or 3 AS paths

What have i done wrong here, I used to use this to match 1,2 and 3 AS
path,
for filtering down a full table:

^[0-9]*$
^[0-9]*_[0-9]*$
^[0-9]*_[0-9]*_[0-9]*$


-- 
James H. Edwards
Senior Network Systems Administrator
Judicial Information Division
[EMAIL PROTECTED]
_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/
_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to