274 Citrix NetScaler Policy Configuration and Reference Guide

New Operators for Extracting and Evaluating Numeric Data

Operators

Operation

 

 

number.TYPECAST_TIME_AT

Transform, extract, and evaluate time

and operators of the format

values.

 

"number.TYPECAST_TIME_AT.<operator>."

 

For example,

 

number.TYPECAST_TIME_AT.DAY,

 

number.TYPECAST_TIME_AT.BETWEEN(t

 

ime1, time2), and

 

number.TYPECAST_TIME_AT.EQ(t).

 

Operators of the format "double.<operator>."

Extract and evaluate double-precision

For example, double.ADD (i),

floating-point numeric data.

 

double.BETWEEN(i, j), and double.DIV(i).

 

 

 

Operators for Extracting and Evaluating Text

The following operators have been introduced for extracting and evaluating text.

New Operators for Evaluating Text

Operators

Operation

 

 

EXTEND(m,n)

Extend the scope of the search by a

 

specified number of bytes on both sides of

 

a pattern match.

 

 

text.GET_SIGNED16(n, endianness),

Extract a series of bytes that represent a

text.GET_SIGNED32(n, endianness),

sequence of 8, 16, or 32 bit integers (signed

text.GET_SIGNED8(n),

or unsigned), and the extract the nth integer

text.GET_UNSIGNED16(n, endianness),

from the sequence.

and text.GET_UNSIGNED8(n)

 

text.SUBSTR_ANY(patset_name)

Select a sub-string that matches a string in

 

the given pattern set.

 

 

text.SET_TEXT_MODE(PLUS_AS_SPAC

Set the mode of a text object.

E NO_PLUS_AS_SPACE),

 

text.SET_TEXT_MODE(BACKSLASH_E

 

NCODED

 

NO_BACKSLASH_ENCODED), and

 

text.SET_TEXT_MODE(BAD_ENCODE_

 

RAISE_UNDEF

 

NO_BAD_ENCODE_RAISE_UNDEF)

 

.B64DECODE and .B64ENCODE

Encode and decode text by using the

 

Base64 encoding algorithm.

 

 

.HASH

Convert text to a hash value.

 

 

Page 288
Image 288
Citrix Systems 9.2 Operators for Extracting and Evaluating Text, New Operators for Evaluating Text, Operators Operation