Citrix Systems 9.2 Manual De Usuario
158
Citrix NetScaler Policy Configuration and Reference Guide
Note:
The patterns in a pattern set can be regular expressions in PCRE format.
Operators That Use a Pattern Set
The following table describes operations that match text and HTTP header values
with a collection of static strings in a pattern set.
Operators That Compare Text and HTTP Headers With a Pattern Set
with a collection of static strings in a pattern set.
Operators That Compare Text and HTTP Headers With a Pattern Set
Matching Operators
Description
text.CONTAINS_ANY (pattern_
set_name)
Evaluates whether the target contains any of the
strings that are bound to pattern_set_name.
strings that are bound to pattern_set_name.
Returns a Boolean TRUE value if the target
contains any of the strings that are bound to
pattern_set_name.
contains any of the strings that are bound to
pattern_set_name.
text.SUBSTR_ANY(pattern_
set_name)
Selects the first sub-string that matches any string
in the given pattern set. The pattern set cannot have
strings longer than 255 characters.
in the given pattern set. The pattern set cannot have
strings longer than 255 characters.
Parameters:
pattern_set_name
- The name of the pattern
set.
http header.CONTAINS_ANY
(pattern_set_name)
Works with the following prefixes:
• 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 contains any of the
strings that are bound to pattern_set_name.
• HTTP.REQ.HEADER("header_name")
• HTTP.RES.HEADER("header_name")
• HTTP.RES.SET_COOKIE
• HTTP.RES.SET_COOKIE2
Evaluates whether the target contains any of the
strings that are bound to pattern_set_name.
Returns a Boolean TRUE if the target contains any
string that is bound to pattern_set_name.
string that is bound to pattern_set_name.
text.EQUALS_ANY (pattern_
set_name)
Evaluates whether the target matches any of the
strings that are bound to pattern_set_name.
strings that are bound to pattern_set_name.
Returns a Boolean TRUE value if the target is an
exact match with any of the strings that are bound
to pattern_set_name.
exact match with any of the strings that are bound
to pattern_set_name.