Database Error Messages

DIA-28078

A regular expression parameter is missing or invalid.

Cause

Even though the function_type was DBMS_REDACT.REGEXP, the possible causes for this error include:

  • One or more of the regular expression parameters were missing or invalid.
  • The REGEXP_PATTERN failed to compile properly.
  • The regular expression replacement operation failed.

Action

Specify the regular expression parameters according to Oracle Database documentation. At a minimum, specify the REGEXP_PATTERN and REGEXP_REPLACE_STRING parameters. Ensure that the REGEXP_PATTERN can compile properly as a regular expression. For example, test it with REGEXP_REPLACE in a SQL query against a column containing some of the data to be redacted.