June 22, 2023
https://issues.dlang.org/show_bug.cgi?id=24008

          Issue ID: 24008
           Summary: std.string.lastIndexOf(string, char) and (string,
                    string) should be nothrow
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody@puremagic.com
          Reporter: dlang-bugzilla@thecybershadow.net

With a string or char needle, it should not autodecode.

--