When filtering conditions are set to query output information, the first line of the command output starts with the entire regular expression but not the string to be filtered. That is, it matches any string with at least one character that is beyond the range of a to d. Matches characters except a, b, c, and d in a character string. matches any character within the specified range. It cannot simultaneously match multiple characters or match the same character for multiple times. Matches any character within a specified range. matches any character except a, b, and c. matches any character except 1, 2, and 3. That is, it matches any string with at least one character that is not x, y, or z. Matches characters excluding x, y, and z in a character string. Matches any character in the regular expression. The underscore (_) can be used at the beginning of a regular expression with the same function as the caret (^) or at the end of a regular expression with the same function as the dollar sign ($). Matches regular expressions with a sign, such as a comma (,), left brace (), left parenthesis ((), right parenthesis ()), or space. If the left parenthesis in a pattern string has no matching right parenthesis, the pattern string is invalid.ġ00(200)+ matches 100200, 100200200, and so on. If the right parenthesis in a pattern string has no matching left parenthesis, the right parenthesis is used as a common character. If a pattern string has only (), it can match any string. If the parentheses are empty, the string is equivalent to a null string. Matches and obtains a string within the parentheses. However, if the command output is displayed on more than one screen and filter criteria followed by a question mark (?) are entered, this question mark is considered a special character of a regular expression.Ī.b matches any string that starts with a, ends with b, and contains three characters. When regular expressions with a question mark (?) are entered on Huawei datacom devices, helpful information is displayed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |