Home > Configuration > Application Firewall > setappfwfieldtype_regex

setappfwfieldtype_regex

Use this method to set pCRE - format regular expression defining the characters and length allowed for this field type.
This is mandatory parameter.

Syntax



Parameters

name

Name for the field type. Must begin with a letter, number, or the underscore character (_), and must contain only letters, numbers, and the hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore characters. Cannot be changed after the field type is added. The following requirement applies only to the Citrix ADC CLI: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my field type" or 'my field type').
This is mandatory parameter.

priority

Positive integer specifying the priority of the field type. A lower number specifies a higher priority. Field types are checked in the order of their priority numbers.
This is mandatory parameter.
Maximum value = 64000.

regex

PCRE - format regular expression defining the characters and length allowed for this field type.
This is mandatory parameter.

priority

Positive integer specifying the priority of the field type. A lower number specifies a higher priority. Field types are checked in the order of their priority numbers.
This is mandatory parameter.
Maximum value = 64000.

comment

Comment describing the type of field that this field type is intended to match.

Return Value

Returns simpleResult

See Also