ExactPhraseRedaction constructor

init

Initializes a new instance of ExactPhraseRedaction class in case insensitive mode.

def __init__(self, search_phrase, options):
    ...
Parameter Type Description
search_phrase str String to search and replace
options ReplacementOptions Replacement options (textual, color)

init

Initializes a new instance of ExactPhraseRedaction class.

def __init__(self, search_phrase, is_case_sensitive, options):
    ...
Parameter Type Description
search_phrase str String to search and replace
is_case_sensitive bool True if case sensitive search is required
options ReplacementOptions Replacement options (textual, color)

See Also