Treatment replace
regex::replace
Parameters
↳ var regex: string
↳ var replacer: string
Inputs
⇥ text: Stream<string>
Outputs
↦ error: Block<string>
↦ replaced: Stream<string>
Replace text according to a regex.
Every string coming through the text stream is passed through regex,
and replacer is applied.
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.