The Decision Model and Notation Feel Language has many builtin functions.
For strings, one function is replace
. It accepts a search string, a regex pattern, a replacement string, and optional flags.
Does replace
act only on the first regex match or does it replace all matches? The DMN version 1.3 specification, page 138, does not seem to address this.