RE: REG EXPRESSION

From: David Prall <dcp_at_dcptech.com>
Date: Wed, 24 Mar 2010 15:14:34 -0400

The * is 0 or more of the previous character, + is 1 or more of the previous
character. Search the archives, this has been gone over a number of times.

http://www.cisco.com/en/US/docs/ios/12_2/termserv/configuration/guide/tcfaap
re.pdf

David

--
http://dcp.dcptech.com
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> Ryan West
> Sent: Wednesday, March 24, 2010 2:55 PM
> To: Abiola Jewoola; ccielab_at_groupstudy.com; nobody_at_groupstudy.com
> Subject: RE: REG EXPRESSION
> 
> Abiola,
> 
> Going off the top of my head here, so hopefully it's right :)
> 
> . = any character
> *= 1 or more occurrences of the previous character
> _ = space or non alphanumeric character
> ^ = starts with this character
> 
> So, starts with 820 followed by a space, then a range of characters,
> followed
> by a space and then 12.
> 
> -ryan
> 
> From: Abiola Jewoola [mailto:biola_y2k_at_yahoo.com]
> Sent: Wednesday, March 24, 2010 2:51 PM
> To: ccielab_at_groupstudy.com; nobody_at_groupstudy.com; Ryan West
> Subject: RE: REG EXPRESSION
> 
> Please can you please explain how and why ?
> 
> Thanks!!
> 
> --- On Wed, 3/24/10, Ryan West <rwest_at_zyedge.com> wrote:
> 
> From: Ryan West <rwest_at_zyedge.com>
> Subject: RE: REG EXPRESSION
> To: "Abiola Jewoola" <biola_y2k_at_yahoo.com>, "ccielab_at_groupstudy.com"
> <ccielab_at_groupstudy.com>, "nobody_at_groupstudy.com"
> <nobody_at_groupstudy.com>
> Date: Wednesday, March 24, 2010, 11:42 AM
> As David pointed out, that will match.
> 
> -ryan
> 
> From: Abiola Jewoola [mailto:biola_y2k_at_yahoo.com]
> Sent: Wednesday, March 24, 2010 2:42 PM
> To: ccielab_at_groupstudy.com; nobody_at_groupstudy.com; Ryan West
> Subject: RE: REG EXPRESSION
> 
> The As path is  820 1546 9612 12
> 
> --- On Wed, 3/24/10, Ryan West <rwest_at_zyedge.com> wrote:
> 
> From: Ryan West <rwest_at_zyedge.com>
> Subject: RE: REG EXPRESSION
> To: "Abiola Jewoola" <biola_y2k_at_yahoo.com>, "ccielab_at_groupstudy.com"
> <ccielab_at_groupstudy.com>, "nobody_at_groupstudy.com"
> <nobody_at_groupstudy.com>
> Date: Wednesday, March 24, 2010, 11:32 AM
> 
> > -----Original Message-----
> > Sent: Wednesday, March 24, 2010 2:22 PM
> > To: ccielab_at_groupstudy.com; nobody_at_groupstudy.com
> > Subject: REG EXPRESSION
> >
> > Hello G,S
> >
> > I came across this question .am not sure what the answer is.
> >
> > Will this Regular expression " ^820_.*_12" match the As Path
> 8201546961212.
> >
> > Explain??
> >
> 
> 
> Are you sure that's the AS Path?
> 
> 
> Blogs and organic groups at http://www.ccie.net
> 
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Wed Mar 24 2010 - 15:14:34 ART

This archive was generated by hypermail 2.2.0 : Thu Apr 01 2010 - 07:26:36 ART