Previous Topic: Wildcard Matching

Next Topic: Examples: Wildcard Matching

Character Lists

A character list enclosed by square brackets ( [ ] ) can contain one or more characters. CA Access Control uses these characters as positive or negative matching criteria.

A character list can be composed of one or more characters. For this type of list, CA Access Control matches any single character in the list. If the list within the brackets is preceded by a caret (^), CA Access Control matches any single character, which is not in the list.

A range is a type of character list that specifies a range of characters. CA Access Control matches all the characters in the list, inclusively. If a caret (^) precedes the list, CA Access Control excludes all the characters in the specified list. You can specify both ends of the range, or only its first or last character.

The following table describes the character lists that can be used. Remember, in this syntax, you include the square brackets. Each of the expressions ch1, ch2, and chN, stands for a single character.

List

Description

[ch1ch2...chN]

CA Access Control matches any single character in the list enclosed by the square brackets.

[^ch1ch2...chN]

CA Access Control matches any single character that is not in the list enclosed by the square brackets.

[ch1-ch2]

CA Access Control matches any single character in the range, inclusive.

[^ch1-ch2]

CA Access Control matches any single character that is not in the inclusive range.

[-ch2]

CA Access Control matches any single character with an ASCII value lower than or equal to the specified character (ch2).

[^-ch2]

CA Access Control matches any single character with an ASCII value equal to or higher than the specified character (ch2).

[ch1-]

CA Access Control matches any single character with an ASCII value equal to or higher than the specified character (ch1).

[^ch1-]

CA Access Control matches any single character with an ASCII value equal to or lower than the specified character (ch1).