Bug 11911 – Add Unicode correct case-insensitive variations of string functions

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-01-12T21:13:31Z
Last change time
2024-12-01T16:19:53Z
Assigned to
No Owner
Creator
Brad Anderson
Depends on
10566
Moved to GitHub: phobos#10027 →

Comments

Comment #0 by eco — 2014-01-12T21:13:31Z
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) (see issue #10566).
Comment #1 by robert.schadek — 2024-12-01T16:19:53Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10027 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB