http://d.puremagic.com/issues/show_bug.cgi?id=10472

           Summary: lastIndexOf(string, string) does not find single
                    character string at beginning of string
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: rburn...@gmail.com


--- Comment #0 from Robert Schadek <rburn...@gmail.com> 2013-06-25 02:00:16 PDT 
---
While working on lastIndexOf with a slice index I noticed that,

assert(lastIndexOf(to!S("�abcdefcdef"), to!T("�")) == 0);

fails on both x64 as welll x86.


It also fails for the single dchar version,

assert(lastIndexOf(to!S("�abcdefcdef"), to!dchar("�")) == 0);


I hope I will find the time to fix this this week.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to