2011/1/22 Andrei Alexandrescu <[email protected]>: > That's what I'm fearing - changing current replace to replaceAll and adding > replace with the meaning of replaceFirst would silently change the semantics > of existing code. > > Andrei >
Yeah, I see that problem. I'm just so used to "replace first" being the default in text editors, and then you have a "replace all" button if you want to replace everything. That also seems to be Walter's reasoning in std.typetuple.
