[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with 'upper' class when nocaseglob
From: |
Chet Ramey |
Subject: |
Re: Problem with 'upper' class when nocaseglob |
Date: |
Fri, 3 Mar 2017 11:01:48 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 |
On 3/2/17 4:57 PM, Lukáš Bařinka wrote:
> A description of the bug behaviour:
> When the nocaseglob option is set, the [:upper:] class in pattern
> does not match capital or small letters. On the other hand,
> [:lower:] works fine.
Thanks for the report. Character class name matching shouldn't depend
on whether or not case-insensitive comparisons are enabled. This is
consistent with glibc's behavior.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/