http://d.puremagic.com/issues/show_bug.cgi?id=8880
Summary: Feature Request into both std.ascii std.uni isNewline
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from bioinfornatics <[email protected]> 2012-10-23
15:47:13 PDT ---
both std.ascii std.uni provides isWhite but any provides isNewline
maybe something like
bool isNewline(dchar c) @safe pure nothrow
{
return ( c == 0x0A || c == 0x0D )? isWhite( c ) : false;
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------