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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
--- Comment #0 from Jesse Phillips <[email protected]> 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: -------