Skip to content

policy patClass

The following operations can be performed on "policy patClass":

add| rm| bind| unbind| show

add policy patClass

p{white-space: pre-wrap;}

Adds a pattern class. Each pattern class is identified by a name. More patterns (strings) can be associated with it later. NOTE: This command is deprecated. This command is deprecated in favor of 'add policy patset'. NOTE: This command is deprecated.This command is deprecated in favor of 'add policy patset'

Synopsys

Arguments

name

Name of the pattern class. The name must not exceed 127 characters.

string

String associated with the patclass.

Example

add policy patclass pat1 foo

rm policy patClass

p{white-space: pre-wrap;}

Removes a pattern class. Once the pattern class is removed, all the expressions referring it have undefined values. NOTE: This command is deprecated in favor of 'rm policy patset'. NOTE: This command is deprecated.This command is deprecated in favor of 'rm policy patset'

Synopsys

Arguments

name

Name of the pattern class.

Example

rm policy patclass pat1

bind policy patClass

p{white-space: pre-wrap;}

Binds string(s) to a pattern class. NOTE: This command is deprecated in favor of 'bind policy patset'. NOTE: This command is deprecated.This command is deprecated in favor of 'bind policy patset'

Synopsys

Arguments

name

Name of the pattern class.

string

String associated with the patclass.

Example

bind policy patclass pat1 bar xyz

unbind policy patClass

p{white-space: pre-wrap;}

Unbinds string(s) from a pattern class. NOTE: This command is deprecated in favor of 'unbind policy patset'. NOTE: This command is deprecated.This command is deprecated in favor of 'unbind policy patset'

Synopsys

Arguments

name

Name of the pattern class.

string

String associated with the patclass.

Example

unbind policy patclass pat1 bar xyz

show policy patClass

p{white-space: pre-wrap;}

Displays the configured pattern class(es). NOTE: This command is deprecated in favor of 'show policy patset'. NOTE: This command is deprecated.This command is deprecated in favor of 'show policy patset'

Synopsys

Arguments

name

Name of the pattern class.

Outputs

stateflag

string

String associated with the patclass.

index

The index of the string associated with the patclass.

charset

The character set of the string associated with patset.

description

Description of the patclass

isDefault

devno

count

Example

show policy patclass pat1