Thank you for providing the information and suggestions. I think the “x” prefix might be a good candidate, as it is less frequently used in English and sometimes serves as an abbreviation for “extend”.


From: Std-Proposals <std-proposals-bounces@lists.isocpp.org> on behalf of Paul Fee via Std-Proposals <std-proposals@lists.isocpp.org>
Sent: Friday, September 1, 2023 21:31
To: std-proposals@lists.isocpp.org <std-proposals@lists.isocpp.org>
Cc: Paul Fee <paul.f.fee@gmail.com>
Subject: Re: [std-proposals] Iterators for basic_string and basic_string_view find functions
 
On Fri, Sep 1, 2023 at 1:18 PM XiaoYexuan via Std-Proposals <std-proposals@lists.isocpp.org> wrote:
Proposal

I propose to add a new set of find functions for basic_string and basic_string_view, which take and return iterators instead of indices. These functions will have the same name as the existing ones, but with an “i” prefix. For example:

To me, an "i" prefix suggests case insensitive search.  Boost, for example, has "icontains" and "ifind_first" that are case insensitive.  Perhaps consider a different name.