RegexRedaction constructor

__init__(self, pattern, options)

Initializes a new instance of RegexRedaction class.


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

See Also