Chapter 45: CLI Overview
STANDARD Revision 1.0 C4® CMTS Release 8.3 User Guide
© 2016 ARRIS Enterprises LLC. All Rights Reserved. 1117
Table 144. Characters with Special Meaning in Search Patterns
The dot matches any single character, including white space
The asterisk matches any number (or none) of the single character that immediately precedes it. The
preceding character can also be a regular expression. E.g., since the . (dot) means any character, then .*
means "match any number of any character."
The plus matches 1 or more sequences of the preceding regular expression
The caret matches the following regular expression at the beginning of the line.
The dollar sign matches the end of the line.
The backslash allows for literal meaning of the special characters.
The brackets allow for the definitions of a set of characters to be matched. The brackets also mean the
contents will be taken as a single character. (e.g. [aeiou] = any vowel)
Search for anything in the brackets that does not include the set of characters following the caret. (e.g.
[^aeiou] = any consonant)
The parentheses allow for grouping and recall.
Indicates the beginning/end of a word.
To remove the special meaning of any of the special characters listed above, put a backslash (\) in front of it. For example,
when the expression m5\. is used in the command syntax, only the string m5. will be matched.
Range
A range is a sequence of characters enclosed in brackets [ ]. It normally matches any single character from the sequence.
When the sequence begins with a caret (^), it matches any single character not from the rest of the sequence. When two
characters in the sequence are separated by a hyphen (-), this is shorthand for the full list of ASCII characters between
them. For example, [0-9] matches any decimal digit. To include a literal bracket "]" in the sequence, make it the first