
Cha
te
6 Terminal Mode Commands
174 4025561
Rev
pattern
Syntax
pattern patternStyle
Description
The pattern command is used to select one of two pattern matching styles for the
names of monitor, control, and alarm parameters. This setting controls whether CLI
supports Windows style pattern matching (which includes the * wildcard character
as well as ? and [xyz] patterns) or POSIX regular expression (regex) pattern
matching as used in many Unix and Perl programs.
The default is Windows-style or wildcard pattern matching. The regex style includes
a much more powerful but also more complex pattern matching format. While a full
description of regex pattern matching is beyond the scope of this document, a good
overview of the subject is available via the public internet at:
http://en.wikipedia.org/wiki/Regular_expression
More detailed information is available via links at the end of the above article. For
additional details, see other resources available on the internet for Perl or Boost, such
as:
http://perldoc.perl.org/
http://www.boost.org/
Parameters
The patternStyle parameter can have one of two values:
patternStyle Description
wildcard Standard Windows-style wildcard pattern matching.
regex POSIX regular expression pattern matching.
Access Rights Required
Read, ReadWrite, or Admin
Examples
When the default Windows-style wildcard pattern matching is in effect, CLI
interprets wildcards as shown in the following sample dialogs.
Comentarios a estos manuales