Web lists-archives.com

Re: [PATCH v10 3/9] strbuf: add a case insensitive starts_with()




On Fri, Mar 09 2018, Junio C. Hamano jotted:

> Lars Schneider <larsxschneider@xxxxxxxxx> writes:
>
>> I think following the boost lib makes most sense. Therefore,
>> I would like to go with "istarts_with". OK with you?
>
> I don't care too deeply; if we took starts_with() from there, where
> what we now want is defined as istarts_with(), then that sounds like
> a good thing to do.

I don't care either, but just a note that we had this exact discussion
around this time last year when I added a starts_with_icase() [1][2]
which eventually got dropped.

1. https://public-inbox.org/git/xmqqpohao2hw.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx/
2. https://public-inbox.org/git/20170326121654.22035-4-avarab@xxxxxxxxx/