REGEX
Treat both the search pattern and the replacement text as
regular expressions. Trailing \
or single $
characters
are not allowed in the replacement text.
MULTILINE mode is on by default.
Equivalent to checking the Regex box in the File ContentReplacer UI.
This is the only mode in TeamCity 9.1 and 10.0 and the default one
since 2017.1.