Understanding Regular Expressions, Special Characters, And Patterns; Contents; Regular Expressions - Cisco ASR 9000 Getting Started Manual

Cisco systems router getting started guide
Hide thumbs Also See for ASR 9000:
Table of Contents

Advertisement

Understanding Regular Expressions, Special
Characters, and Patterns
This appendix describes regular expressions, special or wildcard characters, and patterns used with
filters to search through command output. Filter commands are described in the
Command Output" section on page

Contents

Regular Expressions

A regular expression is a pattern (a phrase, number, or more complex pattern).
A regular expression can be a single-character pattern or multiple-character pattern. It can be a single
character that matches the same single character in the command output or multiple characters that
match the same multiple characters in the command output. The pattern in the command output is called
a string.
The simplest regular expression is a single character that matches the same single character in the
command output. Letter (A-Z and a-z), digits (0-9), and other keyboard characters (such as ! or ~) can
be used as a single-character pattern.
OL-17502-01
F I N A L D R A F T - C i s c o C o n f i d e n t i a l
Character Pattern Ranges, page A-2
Regular expressions are case sensitive and allow for complex matching requirements. Simple
regular expressions include entries like Serial, misses, or 138.
Complex regular expressions include entries like 00210... , ( is ), or [Oo]utput.
A P P E N D I X
5-9.
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
A
"Filtering show
A-1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents