Re: Re: A matter of a regular Expression

From: <aly.groupstudy_at_gmail.com>
Date: Mon, 13 Apr 2009 04:19:06 -0400

Sorry for the typo mistake ^100_[1-9]*$ should of course be ^100_[0-9]*$

Actually Cyrus you are correct

1) Do not match AS100 Only routes.
^100_[0-9]*$ will match routes originated from 100
note the * matches "ZERO" or more occurance

2) Without a "0" in [1-9], it won't match AS numbers like 300, 500, 405 etc.
sorry my mistake should be ^100_[0-9]*$ but we all get the idea ( clumsy me)

3) The * would match everything. AS100's customer's customers and their
customers etc.
  No I do not think it would as the range [0-9] does not include the space char
or the _ operator

I still thinks they would work the same with mine only shorter and maybe
simpler

Blogs and organic groups at http://www.ccie.net
Received on Mon Apr 13 2009 - 04:19:06 ART

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