On 7/28/20 4:17 AM, Harald van Dijk wrote: > Bash Version: 5.0 > Patch Level: 18 > Release Status: release > > Description: > In lib/glob/smatch.c, there are two functions that are used to > check equivalence classes in patterns: collequiv, and > collequiv_wc. The former is used if the pattern does not contain > any multi-byte characters, the latter otherwise, With > exceptions that are not relevant to this bug. The two functions > do not give the same results: collequiv does not implement the > fnmatch() fallback code that collequiv_wc does implement, > leading to inconsistent matching for ASCII-only equivalence > classes.
Thanks for the report, and the prodding to do the work that has been pending in this area. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/