Chapter 9 Advanced Expressions: String Sets, String Patterns, and Data Formats 159
http header.EQUALS_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 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_
set_name)Evaluates whether the target ends with any of the
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_
ANY(pattern_set_name)Evaluates whether the target starts with any of the
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_
INDEX(pattern_set_name)Evaluates whether the target starts with any of the
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_
INDEX(pattern_set_name)Evaluates whether the target ends with any of the
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_
INDEX(pattern_set_name)Evaluates whether the target contains any of the
strings that are bound to pattern_set_name.
If a match is found, this operation returns the
numerical index of the matching string.
Operators That Compare Text and HTTP Headers With a Pattern Set
Matching Operators Description