Re: [PATCH v10 3/9] strbuf: add a case insensitive starts_with()
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Mar 9, 2018, 19:06 UTC
- Message-ID
- <87h8ppqdb6.fsf@evledraar.gmail.com>
- In-Reply-To
- <xmqqmuzh6u8g.fsf@gitster-ct.c.googlers.com>
On Fri, Mar 09 2018, Junio C. Hamano jotted:
Show 8 quoted lines
> Lars Schneider <larsxschneider@gmail.com> 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@gitster.mtv.corp.google.com/ 2. https://public-inbox.org/git/20170326121654.22035-4-avarab@gmail.com/