MetadataSearchRedaction constructor
init
Initializes a new instance of MetadataSearchRedaction class, using value to match redacted items.
def __init__(self, value_pattern, replacement):
...
Parameter | Type | Description |
---|---|---|
value_pattern | str | Regular expression to search and replace |
replacement | str | Textual replacement |
init
Initializes a new instance of MetadataSearchRedaction class, using item name and value to match redacted items.
def __init__(self, value_pattern, replacement, key_pattern):
...
Parameter | Type | Description |
---|---|---|
value_pattern | str | Regular expression to search and replace metadata item value |
replacement | str | Textual replacement |
key_pattern | str | Regular expression to search and replace metadata item name |
See Also
- module
groupdocs.redaction.redactions
- class
MetadataSearchRedaction