Re: Wacky Regular Expression

From: kelly@cliffhanger.com
Date: Sun Jul 01 2007 - 10:56:45 ART


 active[ \t]+$

If a line has the word 'active' and, it's followed
by either any number of 'space' or a 'tab'
characters that extend to the end of the line.

-- 
         ___
        /\  \
       /  \  \
      /    \  \
     /  /\  \  \
    /  /  \  \  \
   /  /  / \  \  \
  /  /  /___\__\  \
 /  /  /___________\
  \/_______________/

Impossible Triangle M. C. Escher

Big riffs, massive grooves, and expansive improvisations

Quoting Gregory Gombas <ggombas@gmail.com>: 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



This archive was generated by hypermail 2.1.4 : Sat Aug 18 2007 - 08:17:39 ART