Chapter 9 Advanced Expressions: String Sets, String Patterns, and Data Formats 159

Operators That Compare Text and HTTP Headers With a Pattern Set

Matching Operators

Description

 

 

http header.EQUALS_ANY

Works with the following prefixes:

(pattern_set_name)

HTTP.REQ.COOKIE

 

HTTP.REQ.HEADER("header_name")

 

HTTP.RES.HEADER("header_name")

 

HTTP.RES.SET_COOKIE

 

HTTP.RES.SET_COOKIE2

 

Evaluates whether the target matches any of the

 

strings that are bound to pattern_set_name.

 

Returns a Boolean TRUE if the target is an exact

 

match with any string that is bound to pattern_set_

 

name.

 

 

text.ENDSWITH_ANY(pattern_

Evaluates whether the target ends with any of the

set_name)

strings that are bound to pattern_set_name.

 

Returns a Boolean TRUE value if the target ends

 

with any of the strings that are bound to pattern_

 

set_name.

text.STARTSWITH_

Evaluates whether the target starts with any of the

ANY(pattern_set_name)

strings that are bound to pattern_set_name.

 

Returns a Boolean TRUE value if the target starts

 

with any of the strings that are bound to pattern_

 

set_name.

 

 

text.STARTSWITH_

Evaluates whether the target starts with any of the

INDEX(pattern_set_name)

strings that are bound to pattern_set_name.

 

If a match is found, this operation returns the

 

numerical index of the matching string.

text.ENDSWITH_

Evaluates whether the target ends with any of the

INDEX(pattern_set_name)

strings that are bound to pattern_set_name.

 

If a match is found, this operation returns the

 

numerical index of the matching string.

 

 

text.CONTAINS_

Evaluates whether the target contains any of the

INDEX(pattern_set_name)

strings that are bound to pattern_set_name.

 

If a match is found, this operation returns the

 

numerical index of the matching string.

 

 

 

Page 173
Image 173
Citrix Systems 9.2 manual Name, Setname