|
From: | Marcel (Felix) Giannelia |
Subject: | Re: documentation bug re character range expressions |
Date: | Fri, 03 Jun 2011 09:15:55 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Shredder/3.0.4 |
On 2011-06-03 05:00, Greg Wooledge wrote:
On Fri, Jun 03, 2011 at 12:06:32AM -0700, Marcel (Felix) Giannelia wrote:Is it really a programmer mistake, though, to assume that [A-Z] is only capital letters?Yes, it is. You should be using [[:upper:]], or you should be setting LC_COLLATE=C if you insist on using [A-Z].
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.
~Felix.
[Prev in Thread] | Current Thread | [Next in Thread] |