[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Range problem in expr regex
From: |
Jim Meyering |
Subject: |
Re: Range problem in expr regex |
Date: |
Mon, 05 Nov 2007 17:10:59 +0100 |
Philip Rowlands <address@hidden> wrote:
> On Mon, 5 Nov 2007, Jim Meyering wrote:
>> In that locale [A-Z] looks like AbBcCdD...
>
> Sneaky :) I will use [A-Za-z] in the future (and advise the person who
> reported the issue to me).
:)
if you want to check for upper case, use [[:upper:]], e.g.,
expr A : '[[:upper:]]'