Do not throw on invalid replacement string