http://d.puremagic.com/issues/show_bug.cgi?id=6428
Summary: Inconsistent implement in std.array.replaceFirst Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: bitwo...@qq.com --- Comment #0 from Heromyth <bitwo...@qq.com> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------