replace() doesn't work in CTFE anymore cause it was modified to be based on Appender. According to klickverbot, other phobos functions share that fate.
I think something should be done about this. Couldn't Appender be implemented without using a pointer to a struct?