[Issue 12184] New: Provide formating options for std.uni.InversionList
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Feb 16 12:53:03 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12184
Summary: Provide formating options for std.uni.InversionList
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: monarchdodra at gmail.com
--- Comment #0 from monarchdodra at gmail.com 2014-02-16 12:52:59 PST ---
Printing an InversionList looks like this:
writefln("%s", CodepointSet('a', 'z'));
=>
[97..122)
I'd like to request that InversionList support *some* formating options, in
particular, 'x' and 'X', and optionally, width. hex would be prefixed with 0x.
This would allow printing as:
writefln("%04x", CodepointSet('a', 'z'));
=>
[0x0061..0x007b)
This would be helpful, as codepoints are often used hex style, and not decimal
style.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list