Esko Logo Back to Esko Support

Page History

Choose your language for a machine translation:

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

 

Description

In the workflow task Router node, regular expressions can be used in the rules when set to matches.

A regular expression is a way to describe search patterns which the system can recognize. A formal syntax is used to create regular expressions.

Procedure

To use a regular expression in the Router node, follow these steps:

  1. Double-click the Router node icon to open the Edit Parameters dialog.
  2. Pick what to route on from the Router based on dropdown list and add the Attribute, Field and Specification depending on what you route on.
  3. In the first rule, change the dropdown to matches. In the field next to it, you can now type your regular expression.

Examples

CharacterOperationExample
|ORcat|dog matches "cat" or "dog"
?0 or 1 of the preceding character?r matches "color" and "colour"
*0 or more of the preceding characterc* matches "", "c", "cccc", etc.
+1 or more of the preceding characterc+ matches "c", "cccc", etc. but not ""
.any single character.c matches "abc", "aac", "acc", etc.
^proceeding character at beginning of the line^The matches "The" at the beginning of a line
$preceding character at end of the linethe end$ matches "the end" at the end of a line
[]matches a single character contained in the brackets

[abc] matches "a", "b" or "c"

[a-z] specifies a range which matches any lower case letter from "a" to "z"

[^]
matches a single character except the ones contained in the brackets[^abc] matches every character except "a", "b" or "c"
\escape characters with special meaning\?$ matches "?" a the end of a line
{x}x times a single character

ab{3}c matches only "abbbc"

Tip

Find out more about what a regular expression is and can do here.

All supported regular expression constructs can be found here.

Article information
Applies to

WebCenter 12.1 and newer

Created08-Apr-14
Last revised 
AuthorDEKE
CW Number 
Panel
titleContents

Table of Contents
classinline-toc