Defines a legacy screen criterion searching for a regular expression into the screen using possibly given presentation attributes.

Matching conditions: The Regular expression criterion matches on a screen when:

• the text starting at a given position (line, column) in screen corresponds to the defined regular expression,
• this text is defined with parameterized presentation attributes.

Property Type Category Description
Column int standard Defines the column from which the criterion should match.
Comment String standard Describes the object comment to include in the documentation report.
This property generally contains an explanation about the object.
Line int standard Defines the line from which the criterion should match.
Presentation attributes int standard Defines the presentation attributes to match.
This property allows to configure the criterion so that it matches only to parts of screens having specific attributes, for example green text on black background.
Presentation attributes to configure are :

Color: Foreground color, Background color, to choose in a list of predefined colors or not to take into account.
Decoration: bold, reverse, underlined, blink, for each decoration choose between “with the decoration”, “normal” (i.e. without the decoration), or “not to take into account”.
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.