From: kelly@cliffhanger.com
Date: Sun Jul 01 2007 - 21:07:07 ART
Also, use any of the *nix OSes.  Most of the tools
use regex.  Note, the regex varies (slightly) from
tool to tool.  Cisco's regex is a bit different
that the regex for Vim or grep for instance.
-- 
         ___
        /\  \
       /  \  \
      /    \  \
     /  /\  \  \
    /  /  \  \  \
   /  /  / \  \  \
  /  /  /___\__\  \
 /  /  /___________\
  \/_______________/
 Impossible Triangle
    M. C. Escher
Big riffs, massive grooves, and expansive improvisations
Quoting Scott Morris <smorris@ipexpert.com>:
        No worries.
        
        If you really want to get into regular expressions, there's a little book
        from O'Reilly Press that is very good.
        
         
        Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, JNCIE
        #153, CISSP, et al.
        CCSI/JNCI-M/JNCI-J
        VP - Technical Training - IPexpert, Inc.
        IPexpert Sr. Technical Instructor
         
        A Cisco Learning Partner - We Accept Learning Credits!
         
        smorris@ipexpert.com
         
        Telephone: +1.810.326.1444 
        Fax: +1.810.454.0130
        http://www.ipexpert.com
         
        
        -----Original Message-----
        From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
        Gregory Gombas
        Sent: Sunday, July 01, 2007 5:07 PM
        To: smorris@ipexpert.com
        Cc: Group study
        Subject: Re: Wacky Regular Expression
        
        Thank you for your replies. Didn't see that in the Cisco Regular Expression
        guide.
        
        
        On 7/1/07, Scott Morris <smorris@ipexpert.com> wrote:
        > The " /t" would basically exclude any vlan that appears as active, but 
        > doesn't have any ports assigned to it (e.g. from 'active' till the end 
        > of the line is ONLY spaces)
        >
        > HTH,
        >
        >
        > Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, 
        > JNCIE #153, CISSP, et al.
        > CCSI/JNCI-M/JNCI-J
        > VP - Technical Training - IPexpert, Inc.
        > IPexpert Sr. Technical Instructor
        >
        > A Cisco Learning Partner - We Accept Learning Credits!
        >
        > smorris@ipexpert.com
        >
        > Telephone: +1.810.326.1444
        > Fax: +1.810.454.0130
        > http://www.ipexpert.com
        >
        >
        > -----Original Message-----
        > From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf 
        > Of Gregory Gombas
        > Sent: Sunday, July 01, 2007 11:31 AM
        > To: Group study
        > Subject: Wacky Regular Expression
        >
        > This is from IE Lab 4:
        >
        > show vlan brief | exclude unsup|^ |^1 |active[ \t]+$
        >
        > I understand the goal of this command is to exlude output from the 
        > show vlan brief command but am not sure what this part of the string means
        exactly:
        > active[ \t]+$
        >
        > Any ideas?
        >
        > Thanks
        >
        > ______________________________________________________________________
        > _ Subscription information may be found at:
        > http://www.groupstudy.com/list/CCIELab.html
        
        _______________________________________________________________________
        Subscription information may be found at: 
        http://www.groupstudy.com/list/CCIELab.html
        
        _______________________________________________________________________
        Subscription information may be found at: 
        http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:39 ART