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

           Summary: Update startsWith to take a range of ranges
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: and...@metalanguage.com
        ReportedBy: jesse.k.phillip...@gmail.com
                CC: jesse.k.phillip...@gmail.com


--- Comment #0 from Jesse Phillips <jesse.k.phillip...@gmail.com> 2011-01-30 
11:28:48 PST ---
Currently std.algorithm.startsWith accepts any number of ranges. It would be
nice if this case below could pass:

import std.algorithm;

void main() {
    auto a = ["\r\nHello"];
    assert(startsWith(a, ["\n","\r\n"], ["H"]));
}

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

Reply via email to