OK, now try to include a slash into the pattern or replacement.
In reply to Re^2: Regexp substitution using variables by choroba in thread Regexp substitution using variables by MikeTaylor