Il 01/07/2013 20:36, Aharon Robbins ha scritto: > [ I know I'm going to regret this... ] > >> `[a-z]' is case insensitive >> >> You are encountering problems with locales. POSIX mandates that `[a-z]' >> uses the current locale's collation order -- in C parlance, that means >> strcoll(3) instead of strcmp(3). > > As of the 2008 standard, this is no longer true. Ranges are now > implementation defined. This is what gives us the leeway to move to > range interpretation not based on locales.
You're right. The documentation text is outdated. Thanks for pointing it out! Paolo