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