← Back to index
|
Original Bugzilla link
Bug 13529 – std.string.lastIndexOf matches wrong element
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-09-24T21:50:00Z
Last change time
2014-09-26T03:47:24Z
Assigned to
nobody
Creator
rburners
Comments
Comment #0
by rburners — 2014-09-24T21:50:08Z
unittest { ptrdiff_t idx = lastIndexOfH(to!dstring("Hällö Wörldö ö"),to!dstring("ö öd")); assert(idx == -1); // fails } PR is in the works
Comment #1
by rburners — 2014-09-24T21:58:58Z
https://github.com/D-Programming-Language/phobos/pull/2554
Comment #2
by github-bugzilla — 2014-09-25T09:29:02Z
Commits pushed to master at
https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/900c35c2603e8eb64ab10ba64042cda43212388a
fix for issue13529
https://github.com/D-Programming-Language/phobos/commit/9e3591c09549df000055777de947bfa38e93e341
Merge pull request #2554 from burner/issue13529 fix for issue13529
https://issues.dlang.org/show_bug.cgi?id=13529
Comment #3
by hsteoh — 2014-09-26T03:47:24Z
Verified fixed in git HEAD, Linux/64.