www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11911] New: Add Unicode correct case-insensitive variations of string functions

https://d.puremagic.com/issues/show_bug.cgi?id=11911

           Summary: Add Unicode correct case-insensitive variations of
                    string functions
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: eco gnuk.net
        Depends on: 10566



The naming scheme can change but this is the list I've gathered from looking at
Boost's string algorithms library (full comparison spreadsheet here
http://goo.gl/Wmotu4).

istartsWith()
iendsWith()
icanFind()
ifind()
ireplaceFirst()
ireplaceSlice()

We already have cmp() and icmp() so maybe leave those two alone and add new
functions to be used for lexicographical sorting.

I've only included variations for the functions we already have here. There
will be a separate issue for the functions in the linked spreadsheet that are
missing entirely (both normal and case-insensitive) in the linked spreadsheet.

These all depend on the implementation of the Unicode Collation Algorithm (UCA)


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