[Gllug] Keyboard Oddity
Stuart Sears
stuart at sjsears.com
Sun May 4 20:39:13 UTC 2008
Nix wrote:
> On 3 May 2008, Stephen Nelson-Smith spake thusly:
>> LC_COLLATE="en_US.UTF-8"
>
> Look out for this. It has (what are to me) extremely conuterintuitive
> effects on e.g. ranges in regular expressions: for example [a-m] now
> includes the capital letters B through M as well.
Actually, IIRC, A through L.
AIUI UTF ordering is aAbBcCdDeE etc
To avoid having to worry about this I have resigned myself to using
[:upper:] and [:lower:] (etc) for regex patterns these days.
Stuart
--
Stuart Sears RHCA etc.
"It's today!" said Piglet.
"My favourite day," said Pooh.
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list