Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #43604

Re: A case insensitive substring search?

Path csiph.com!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Nobody <nobody@nowhere.invalid>
Newsgroups comp.lang.c++
Subject Re: A case insensitive substring search?
Date Fri, 01 Jul 2016 07:53:20 +0100
Organization A noiseless patient Spider
Lines 20
Message-ID <pan.2016.07.01.06.53.19.656000@nowhere.invalid> (permalink)
References <C6mdnaL0a8umRu_KnZ2dnUU7-cHNnZ2d@giganews.com> <pan.2016.06.28.23.41.22.74000@nowhere.invalid> <SS-20160629053202@ram.dialup.fu-berlin.de>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Info mx02.eternal-september.org; posting-host="152d4dee6f95183c956ee6fa63d7e69f"; logging-data="14375"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+WOMjhQisGVC1navUY3WNj"
User-Agent Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)
Cancel-Lock sha1:0Kg2yuTO6B4BVVpDAoBROcZwvBU=
Xref csiph.com comp.lang.c++:43604

Show key headers only | View raw


On Wed, 29 Jun 2016 04:33:05 +0000, Stefan Ram wrote:

> Nobody <nobody@nowhere.invalid> writes:
>>                               There's no way to handle this situation
>>using only the standard library, where case conversion is assumed to map
>>one character to one character.
> 
>   No way?
> 
>   It was always possible to use a custom character encoding

I should have been more clear: there's no way to handle this situation
using only the standard library's notion of case (either the std::ctype
facet or the features inherited from C in <cctype>) for an arbitrary
locale.

I daresay that you can create custom locales or just avoid using anything
related to locales and create your own alternatives. But that's likely to
create as many problems as it solves.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

A case insensitive substring search? James Moe <jimoeDESPAM@sohnen-moe.com> - 2016-06-28 13:16 -0700
  Re: A case insensitive substring search? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-06-28 23:48 +0100
    Re: A case insensitive substring search? James Moe <jimoeDESPAM@sohnen-moe.com> - 2016-06-28 22:25 -0700
      Re: A case insensitive substring search? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-06-29 10:56 +0100
        Re: A case insensitive substring search? Öö Tiib <ootiib@hot.ee> - 2016-06-29 04:19 -0700
      Re: A case insensitive substring search? James Moe <jimoeDESPAM@sohnen-moe.com> - 2016-06-29 10:48 -0700
  Re: A case insensitive substring search? Nobody <nobody@nowhere.invalid> - 2016-06-29 00:39 +0100
    Re: A case insensitive substring search? Öö Tiib <ootiib@hot.ee> - 2016-06-29 06:22 -0700
      Re: A case insensitive substring search? Ralf Goertz <me@myprovider.invalid> - 2016-06-29 17:16 +0200
        Re: A case insensitive substring search? Öö Tiib <ootiib@hot.ee> - 2016-07-01 01:46 -0700
    Re: A case insensitive substring search? "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2016-06-29 21:32 +0200
    Re: A case insensitive substring search? Nobody <nobody@nowhere.invalid> - 2016-07-01 07:53 +0100

csiph-web