import std.regex;
void main() {
 .replace("a", .regex("a"), "b"); // ok
 .replace("a"w, .regex("a"w), "b"w); // compile error
 .replace("a"d, .regex("a"d), "b"d); // compile error
}

Dって楽しいなァアーハハハアハアハアハ