RegexRedaction constructor

init

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