Re: Regular Expressions

From: David Timmons (masterdt@yahoo.com)
Date: Tue Sep 12 2006 - 16:13:49 ART


Hi,
 
Think these two lines produce the same results. Really it is just saying the that the originating AS can contain 1 or more numbers between for zero to nine; however, the set should include the empty string. I would guess that this type of regular expression would take a little extra processing power.
 
dt

----- Original Message ----
From: Tim Chan <timanji@yahoo.com>
To: Fabio Rodrigues <fleandror2@gmail.com>; ccielab@groupstudy.com
Sent: Tuesday, September 12, 2006 2:01:16 PM
Subject: Re: Regular Expressions

Search for "lookingglass router". You can telnet into these routers and play with
regular expressions to see how each one differs.

This is one for example. Telnet to "route-server.ip.att.net". They have a peering with
AS7018, so make sure that is the AS you're using in your expressions.

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

-tim

----- Original Message ----
From: Fabio Rodrigues <fleandror2@gmail.com>
To: ccielab@groupstudy.com
Sent: Tuesday, September 12, 2006 8:11:42 AM
Subject: Regular Expressions

Hi All,

does anyone knows to say the difference of the effect (if exists) of these two
regular expressions?

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

Tks,

Fabio.



This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:40 ART