The replace argument should be a regular expression or a string — not
a string containing a regular expression.