Expressions

Expressions are used to configure the selection criteria that is used by agent policies and object policies for identifying discovered objects and applying the actions to them.

Expressions are configured by object type.

The Expressions Editor dialog box is an advanced tool that can assist with configuring more complex expressions. The Expressions Editor supports regular expressions in order to configure complex expressions. Note that when multiple expressions are used within a policy, they are evaluated in an OR comparison type.

This section includes: 

When defining a regular expression that requires a shorthand character class, the expression's "\" character must be escaped with another "\".

Example expression: ^(?=\s*\S).*$

This expression means "any string that is not all spaces" (\s matches whitespace, \S is negated \s); the correct way to define the expression is to ensure the "\" character includes another "\", as shown below:

^(?=\\s*\\S).*$

Was this page helpful? Yes No Submitting... Thank you

Comments