OcNOS-RON : Layer 3 Guide : Border Gateway Protocol Command Reference : Regular Expressions
Regular Expressions
Table 5-73 shows the regular expression special characters used in BGP commands. You can use these characters in combination to build complex regular expressions.
 
Table 5-73: Regular expression characters
Symbol
Character
Meaning
^
Caret
Matches the beginning of the input string. When used at the beginning of a string of characters, it negates a pattern match.
$
Dollar sign
Matches the end of the input string.
.
Period
Matches a single character (including white spaces).
*
Asterisk
Matches none or more sequences of a pattern.
+
Plus sign
Matches one or more sequences of a pattern.
?
Question mark
Matches none or one occurrence of a pattern.
_
Underscore
Matches spaces, commas, braces, parenthesis, or the beginning and end of an input string.
[]
Brackets
A range of single-characters.
-
Hyphen
Separates the end points of a range.