BGP Regular Expression Question
The ? means zero or one instance and the + means one or more instances. So if you use the () characters you are grouping the expression and basically stating zero or one instance of that grouping. The second expression basically states the same thing but without the grouping. You would still get the same results: Any AS-Path beginning with 1723 and ending with another AS number of any amount of characters.
Tim
—–Original Message—– From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Mike Haddad Sent: Tuesday, March 11, 2008 1:58 AM To: ccielab@groupstudy.com Subject: BGP Regular Expression Question
Is there any difference between the below: ^1723(_[0-9]+)?$ As 1723 and directly connected customers^1723_[0-9]+$ Does it mean the same?
Thanks in advance,
_________________________________________________________________ At a loss for words? Find them by playing Seekadoo! Play now! http://g.msn.ca/ca55/208
























