Using regular expression pattern matching

If you select regular expressions for pattern matching, you must specify a valid regular expression for the “Command” and “Specific path” fields. Regular expressions consist of a combination of literal and special characters. For example, regular expressions can include backslash (\), caret (^), dollar sign ($), period (.), vertical bar (|), question mark (?), asterisk (*), plus sign (+), parentheses (( )), square brackets ([ ]), and curly braces ({ }) characters to define complex string matching patterns.

By default, regular expression commands are enclosed automatically with command “anchors” to prevent to prevent open-ended or unintended pattern matching for paths or commands. If you write precise regular expressions, you can disable the default behavior by setting the parameter to false in the centrifydc.conf configuration file. If you set this parameter to false, however, you should carefully consider all of the possible matches for the regular expressions you define.

For more information about using regular expressions for pattern matching, see the regcomp, regexec, and regex man pages. For more information about setting configuration parameters, see the Configuration and Tuning Reference Guide.