replace

Use the replace stanza entry to perform a search and replace operation on text that is contained in the updated files.

Syntax

replace = <search-patten>|<replace-text>

Description

Define the search pattern and the replacement text.

Options

<search-patten>
The regular expression pattern that is to be matched.
Note: The | character cannot be used in the search-pattern text.
<replace-text>
The text that will replace the matched text.

Usage

Multiple instances of this configuration entry can be used if multiple substitutions are required.

Default value

None.

Example

replace = .*old|new