https://issues.dlang.org/show_bug.cgi?id=17574
--- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to dmd-cxx at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/bb0340766b4810fd72f92d2a55981aba8006396e Fix issue 17574 - Avoid range error by checking the result of indexOf https://github.com/dlang/phobos/commit/700d44da1d104c03b5553cb9f636433b9be3434d Merge pull request #5525 from Hackerpilot/issue-17574 --