Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


UI Text Box
sizemedium
typeinfo

This condition checks the value of a field or a text composed of various custom fields against a regular expression.


Configuration

UI Expand
titleValue

Select how to retrieve the value that will be checked against the regular expression. You can choose between the following options:

OptionDescription
Value from fieldIf you select this option, you can select a specific field in a subsequent step. The value of this field will be evaluated against the regular expression.
Set value manually (parser expression)

You can enter the text to be evaluated against the regular expression using an expression in Basic text mode

Include Page
DECADIS:_snip_generic_expression_editor
DECADIS:_snip_generic_expression_editor



UI Expand
titleRegular expression

Enter plain text representing a valid regular expression and optionally use field codes to insert field values.


UI Expand
titleAdditional options

Choose one of the following additional options to further refine how to evaluate the value against the regular expression. 

OptionDescription

Case insensitive

The evaluation will ignore the case of the input value

Multiline

Characters ^ and $ match just after or just before, respectively, a line terminator or the end of the input sequence. By default, these characters only match at the beginning and the end of the entire input sequence.

Dot all

"." matches any character, including a line terminator. By default, this character does not match line terminators.

Literal

Input string is treated as a sequence of literal characters. Metacharacters or escape sequences in the input sequence will be given no special meaning. Case insensitive mode retains its impact on matching when used in conjunction with this mode.

Negate condition

The condition will be met if the the provided regular expression does not match.



UI Text Box
typetip

If you want to use this functionality in a validator instead, have a look at the following validator: Validation based on regular expression



Use cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, Label
cqllabel = "use-case-workflow" and ancestor = currentContent()


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged


Page properties
hiddentrue


Short descriptionEvaluate (field) values against a regular expression.
Label