This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: LC_COLLATE
Florian Weimer <fw@deneb.enyo.de> writes:
> * Paolo Bonzini:
>
>> and these do not include regex character ranges. LC_COLLATE would only
>> be used for sorting and for string comparisons.
>
> You end up with similar behavior if you read the POSIX spec carefully,
> IIRC. LC_COLLATE should not affect character ranges.
POSIX defines the behaviour of ranges only in the POSIX locale. In any
other locale the behaviour is unspecified.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."