On Friday, 23 October 2015 at 11:23:55 UTC, Nordlöw wrote: > Is there a reason why std.algorithm doesn't provide a lazy > range implementation of replace()? Sample implementation at https://github.com/nordlow/justd/blob/master/algorithm_ex.d#L1939 for one replacement pair.