Treatment find

regex::find


Parameters

↳ var regex: string

Inputs

⇥ text: Stream<string>

Outputs

↦ error: Block<string>
↦ found: Stream<Option<string>>


Find in stream of strings according to a regex.

Every string coming through the text stream is looked up with regex. found contains the found strings (or none if corresonding text input do not match). error is emitted only if regex contains error.

The regex syntax is Unicode-aware. Please refer to Regex Syntax in documentation for full syntax description.