void replaceCapturesInto(alias output, Sink, R, T)(ref Sink sink, R input, T captures) if (isOutputRange!(Sink, dchar) && isSomeString!R)