[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: documentation bug re character range expressions

From: Eric Blake
Subject: Re: documentation bug re character range expressions
Date: Fri, 03 Jun 2011 10:30:35 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 06/03/2011 10:15 AM, Marcel (Felix) Giannelia wrote:
> Alright -- assuming that for the moment, how does one specify
> [ABCDEFGHIJKL] using [[:upper:]]? This is something that I haven't seen
> documented, and I'm genuinely curious.


If you ever want a subset of [[:upper:]], the _only_ portable ways to
guarantee that you are getting just that subset are to use the C locale
or to spell out the range yourself.

In short, ranges are non-portable in all other locales.

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]