From: Scott Morris (swm@emanon.com)
Date: Wed Dec 27 2006 - 11:11:16 ART
Both will work. Yours does 0 or more of the single character 0-9. The
first does one or more, but makes the whole thing optional with the ? (0 or
1 of preceeding).
Different logic, same result!
Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, JNCIE
#153, CISSP, et al.
CCSI/JNCI-M/JNCI-J
IPExpert VP - Curriculum Development
IPExpert Sr. Technical Instructor
smorris@ipexpert.com
http://www.ipexpert.com
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of JB
Sent: Wednesday, December 27, 2006 4:59 AM
To: ccielab@groupstudy.com
Subject: BGP Reg Exp
Hi all, question asks for a router to accept prefixes from BB1 that have
been originated by themselves and their directly connected customers.
Solution says: ^54(_[0-9]+)?$
I got ^54_[0-9]*$.
I ran mine thru looking-glass and it "seems" to work. I would appreciate it
if someone could explain the differences, if any, between the two to further
my understanding.
TIA,
JB
This archive was generated by hypermail 2.1.4 : Tue Jan 02 2007 - 07:50:39 ART