DMN 1.8b1 RTF Avatar
  1. OMG Issue

DMN18 — Missing FEEL function to replace in string without regex

  • Key: DMN18-81
  • Status: open  
  • Source: Trisotech ( Mr. Simon Ringuette)
  • Summary:

    The DMN specification provides a replace(input, pattern, replacement, flags?) function that requires a regex pattern as its second parameter. Regex are confusing to business users and some escape characters ends up preventing them from creating the logic they would like to implement.

    A simpler function that replace a string content without regex would be highly desired.

    For example:

    string replace(input, match, replacement, count?)

    This would allow to write a logic that replace strings containing regex special characters.

    string replace("hello (name?)Unable to render embedded object: File (", "(name?)", "DMN") => "hello DMN) not found."

    The optional count parameter is the number of occurrences to replace. A value of 1 mean the first occurrence, a value of -1 means the last occurrence, a value of 2 means the two first occurrences and the default value (not provided or 0) means all occurrences.

  • Reported: DMN 1.6b1 — Mon, 14 Sep 2026 13:14 GMT
  • Updated: Fri, 18 Sep 2026 20:34 GMT