Defines a request criterion based on URL for Site Clipper screen classes.

The URL criterion allows defining a regular expression that is applied on request URL.
By default, the regular expression is tested on base URL. The query string can be added to the tested URL thanks to the Include query string property.
Matching condition: The URL criterion matches when the regular expression defined in Regular expression property matches request URL, i.e. if the string pattern described by the regular expression is found in the request URL.

Property Type Category Description
Comment String standard Describes the object comment to include in the documentation report.
This property generally contains an explanation about the object.
Include query string boolean standard Defines whether the query string should be concatenated to the base URL for detection.
If this property is set to true, the query string, if existing, is concatenated to the base URL before the Regular expression is applied.
Regular expression String standard Defines the regular expression to match.
This property allows defining a regular expression as a string pattern.
Notes:

• For more information about regular expression patterns, see the following page: http://www.regular-expressions.info/reference.html.
• To test regular expressions, you can use the regular expression tester at the following URL: http://www.regular-expressions.info/javascriptexample.html.
Reverse result boolean expert Defines if the criteria’s result should be reversed.
When a criteria is evaluated, it can sometimes be useful to get the opposite of the standard result (i.e. when the criteria matches, its result is false, and when it doesn’t match, its result is true). Use this property to reverse the standard result.
For example, you may define a screen class that does not contain the text “Hello” in white on black background. For that, you define a criterion matching on the text “Hello” in white on black background, and you reverse it thanks to this property.