February 16, 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@puremagic.com
        ReportedBy: monarchdodra@gmail.com


--- Comment #0 from monarchdodra@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: -------
February 16, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12184


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2014-02-16 12:54:20 PST ---
This is probably easily implementable thanks to techniques like this: http://wiki.dlang.org/Defining_custom_print_format_specifiers

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