Skip to main content

Understanding What Happens When Multiple Profile Regex Expressions Match (KBA6952)



KBA# 6952



The masking profiler works to determine the best masking algorithm for a given database column. It does this by reading either the column name or the data within the column and matches that to a list of regular expressions (regex) in alphabetic order. The list of regex can be seen under 'Home > Settings > Profiler'.

This can lead to a situation where more than one regex will match the column name or data.

Applicable Delphix Versions

Major Release All Sub Releases






4.2,,,,,,, ,,


What happens in this situation?

When this occurs, there are two outcomes. By default, the profiler will use the first matching regex expression on the list seen in Home > Settings > Profiler.

The alternative is to check Multiple Profiler Expression Check in the profiler job. The documentation describes this option as follows:

"Check this box if the job should check all Profiler Expressions. If multiple Profiler Expressions match, the Profiler report will indicate multiple matches and the algorithm specified by the DefaultMultiphiAlgorithm application setting will be assigned."

In other words, checking Multiple Profiler Expression Check will apply an algorithm specified by the internal parameter DefaultMultiphiAlgorithm. This is set by default to the NULL SL Algorithm which means all the values in the column will be set to NULL.




The reason for assigning the NULL SL algorithm is to ensure the column is sufficiently masked when matching multiple algorithms - i.e. it could be a card number, date, name, address etc and matching multiple data formats). 



The parameter DefaultMultiphiAlgorithm can be altered in the API-client. 

The DefaultMultiphiAlgorithm is found under applicationSettings.

Below is an example of changing the DefaultMultiphiAlgorithm.

  1. Find the application settingId from the GET section, in the example below, it is 69.
  2. Navigate to the PUT section and set the settingId as above and enter the preferred DefaultMultiphiAlgorithm. In the example below, it is set to AccNoLookup.

    Now the AccNoLookup will be applied anytime more than one regex expression matches and 'Multiple Profiler Expression Check' is selected.




Related Articles

The following articles provide more information or related information to this article: