Summary: Inconsistent implement in std.array.replaceFirst
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Heromyth <> 2011-08-02 06:55:12 PDT ---
Test code:
    string s1 = "abc bcf";

    string s2 = s1.replaceFirst("bc", "ee");
    writefln("%s\n%s", s1, s2);

The s2 should be "aee bcf", however the result of replaceFirst is "aee".

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to