The following code crashes with an array.d(2211): Range violation error:
import std.conv : to; import std.string : replace; auto sourceTxtW = sourceTxt.to!wstring; sourceTxtW.replace("”", `"`); auto sourceTxtR = sourceTxtW.to!string; sourceLines = sourceTxtR.split("\n");