On Sunday, 1 November 2015 at 14:26:21 UTC, Nordlöw wrote: > Is there a reason why Phobos doesn't contain a lazy range > variant of std.string.replace? Would something like map work with the predicate being if(matches_needle) return replacement; else return original; ?