Matches

Searches an input string for all occurrences of a regular expression.

Behaviour

Risk: None · Idempotent: Yes · Safe to retry: Yes · Recovery: Not replayed after a crash

Package System activities VeloPhex.System.Activities 0.7.1-rc.12 · Supported (Core profile) · type id velophex.system.matches

Properties#

Input#

Input#

Input · String · Required · Default: Not specified in package metadata

String to search.

Pattern#

Pattern · String · Required · Default: Not specified in package metadata

Regular expression pattern.

Regex Options#

Options · String · Optional · Default: IgnoreCase

One or more RegexOptions, comma separated, e.g. IgnoreCase, Multiline. An unknown option fails the step.

Allowed values: None, IgnoreCase, Multiline, Singleline, ExplicitCapture, IgnorePatternWhitespace, CultureInvariant, RightToLeft, ECMAScript, NonBacktracking.

Timeout (ms)#

TimeoutMS · Int32? · Optional · Default: Not specified in package metadata

How long matching may run, in milliseconds, before the step fails. Empty: no limit.

Output#

Matches#

Matches · IReadOnlyList<String> · Output

List of matched string values.

First Match#

FirstMatch · String · Output

The first match, or null when there is none.

Retry and risk#

This activity is safe to retry: running it again after a transient failure does not repeat a side effect. If a run is interrupted and the outcome of a step is unknown, the step is never retried automatically (what to do). How activities declare this: characteristics, retries and risk.

Every activity also has the engine's common properties: Timeout and Continue On Error.

Generated from VeloPhex.System.Activities 0.7.1-rc.12. Category: Text. Keywords: regex, regular expression, find, extract, pattern, string.

Properties

Input

Output

Retry and risk

Related activities