Cisco Systems OL-16647-01 Network Router User Manual


  Open as PDF
of 1230
 
19-13
Cisco ASDM User Guide
OL-16647-01
Chapter 19 Adding Global Objects
Configuring Regular Expressions
One or more times (+)—A quantifier that indicates that there is at least 1 of the previous
expression. For example, lo+se matches lose and loose, but not lse.
Any number of times (*)—A quantifier that indicates that there are 0, 1 or any number of the
previous expression. For example, lo*se matches lse, lose, loose, etc.
At least—Repeat at least x times. For example, ab(xy){2,}z matches abxyxyz, abxyxyxyz, etc.
Exactly—Repeat exactly x times. For example, ab(xy){3}z matches abxyxyxyz.
Apply to Selection—Applies the quantifier to the selection.
Test—Tests a regular expression against some sample text.
Modes
The following table shows the modes in which this feature is available:
Test Regular Expression
The Test Regular Expression dialog box lets you test input text against a regular expression to make sure
it matches as you intended.
Fields
Regular Expression—Enter the regular expression you want to test. By default, the regular
expression you entered in the Add/Edit Regular Expression or Build Regular Expression dialog box
is input into this field. If you change the regular expression during your testing, and click OK, the
changes are inherited by the Add/Edit Regular Expression or Build Regular Expression dialog
boxes. Click Cancel to dismiss your changes.
Test String—Enter a text string that you expect to match the regular expression.
Test—Tests the Text String against the Regular Expression,
Test Result—Display only. Shows if the test succeeded or failed.
Modes
The following table shows the modes in which this feature is available:
Firewall Mode Security Context
Routed Transparent Single
Multiple
Context System
• • • •
Firewall Mode Security Context
Routed Transparent Single
Multiple
Context System
• • • •