https://issues.dlang.org/show_bug.cgi?id=18783

          Issue ID: 18783
           Summary: crash with replace
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Mac OS X
            Status: NEW
          Severity: minor
          Priority: P1
         Component: phobos
          Assignee: nob...@puremagic.com
          Reporter: joel...@gmail.com

void main() {
        import std.conv : to;
        import std.string : replace;

        "”"d.replace("”", `"`); // crashes with a range error (notice the other
double quotes)
}

//(this is my first ever bug report)

--

Reply via email to