Previous Topic: Name Method—Sets or Retrieves the Rule Name

Next Topic: Resource Method—Sets or Retrieves the Resource Protected by the Rule

RegexMatch Method—Determines whether Regular Expression Pattern Matching Is Enabled

The RegexMatch method sets or retrieves the flag that determines whether regular expression pattern matching is enabled for resource-matching operations.

Syntax

The RegexMatch method has the following format:

Netegrity::PolicyMgtRule‑>RegexMatch([enableFlag])

Parameters

The RegexMatch method accepts the following parameters:

enableFlag (int)

(Optional) Specifies whether to allow regular expression pattern matching:

Return Value

The RegexMatch method returns one of the following values:


Copyright © 2010 CA. All rights reserved. Email CA about this topic