Richard Fuchs writes:
But why are parts NOT matched by the subst_exp stripped from the output string? With a subst_exp of "(.)" and a repl_exp of "\1", I'd expect the output string to be unchanged.
if you have subst_exp (.*) and repl_exp \1, then you will get the whole thing as result.
-- juha